From patchwork Tue Sep 25 04:24:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 10613341 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9119F14DA for ; Tue, 25 Sep 2018 04:24:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8494929A6F for ; Tue, 25 Sep 2018 04:24:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7943B29A72; Tue, 25 Sep 2018 04:24:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3C42229A79 for ; Tue, 25 Sep 2018 04:24:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728272AbeIYKaU (ORCPT ); Tue, 25 Sep 2018 06:30:20 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:51150 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728225AbeIYKaT (ORCPT ); Tue, 25 Sep 2018 06:30:19 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8P4OJhr178181; Tue, 25 Sep 2018 04:24:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=corp-2018-07-02; bh=GkdYuiLlrR8w6l4DajSznw0ayiIoWyESfPMZY92FGvw=; b=UTJyJVfSHDm3nD4spkjuVipKsvscrF15VAlaiDI76OaYCcMG3ErcgtXtciuDxNuOcX6o iavJrY4ru/ALtMCOPSQRKH8IopQWUZULCr7Zom8ez5YxahOAShd7ihR8nSMuQ/xUe4FG 34H+s/ZyS+rh0MKKL3YDlehr3BJ0SeMxOgKmeSWxi3fwgGhU+qV4LiAUmyhbWq83s+Qb fZ0V2wooWJM41hT5oam8O8qI72nXZl+9WyiCx0viVWcTtOu4O7HxW9b9+7HZGA7y4m1I WPm8w5NaCXqSjyOxrsqUlWQUbHdoYHbFI3iZrm3yTevAaf5OZegT/WiEgAnbaN/DvdLv wA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2mnd5t9gah-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Sep 2018 04:24:42 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8P4OftX027240 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 Sep 2018 04:24:41 GMT Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8P4OfQZ015671; Tue, 25 Sep 2018 04:24:41 GMT Received: from tpasj.sg.oracle.com (/10.186.50.4) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Sep 2018 21:24:41 -0700 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH v2 9/9] generic/387 fix _scratch_mkfs_sized option for btrfs Date: Tue, 25 Sep 2018 12:24:22 +0800 Message-Id: <1537849462-619-10-git-send-email-anand.jain@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1537849462-619-1-git-send-email-anand.jain@oracle.com> References: <1537849462-619-1-git-send-email-anand.jain@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9026 signatures=668707 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=861 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809250044 Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP btrfs needs 256mb to create a fs with default block group which is non mixed, so pass 256mb to _scratch_mkfs_sized(). Signed-off-by: Anand Jain --- tests/generic/387 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/generic/387 b/tests/generic/387 index 68a48012faa5..54a782bba3bc 100755 --- a/tests/generic/387 +++ b/tests/generic/387 @@ -35,7 +35,8 @@ _supported_fs generic _supported_os Linux _require_scratch_reflink -_scratch_mkfs_sized $((32 * 1024 * 1024)) >> $seqres.full 2>&1 +#btrfs needs 256mb to create default blockgroup fs +_scratch_mkfs_sized $((256 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount testfile=$SCRATCH_MNT/testfile