From patchwork Mon Sep 24 10:16:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 10612205 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 C65D4157B for ; Mon, 24 Sep 2018 10:16:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B8CDD29EEC for ; Mon, 24 Sep 2018 10:16:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AD3DC29EFD; Mon, 24 Sep 2018 10:16:58 +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 6BE8A29EEC for ; Mon, 24 Sep 2018 10:16:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728078AbeIXQSP (ORCPT ); Mon, 24 Sep 2018 12:18:15 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:37014 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728482AbeIXQSO (ORCPT ); Mon, 24 Sep 2018 12:18:14 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8OAEbSo053059; Mon, 24 Sep 2018 10:16:54 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=fWFhUh+ZDBDWiUlDIZxbBAzFnCS69NrGGBmE5sd7QrQ=; b=RQOkjVyxjZUMAkG7N56R+FSnEc5PioSdD6LGu54AWxz+447JoXpOidj+NY3KbznJA9Iq qaLkzpaAeOTNVhC3YumnWLdivvsnJMF4LU6kuP0k8bmmK2LSOAeuUxpqA+7aHecFVtYt 7S/hdV4mas1vk1XMTmJFkaa0xsK/WpAW6Zos1smcty08oVHUlPP4PMCBBtkVqrTAnzmJ zVx6Hs9iTpCfoY6JJ91IktFJjFG/xJmb+iFTIhQMnzqDs2L1y/hFwzPUiLnI3FPnAOkC byCFpSxvx/bNzErxtTHmO27mg/uY40skHojZxk9dyLYOdOJ/wJ7K5xISURETlW04pbjc fg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2mnvtubfjp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Sep 2018 10:16:53 +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 w8OAGrTN032496 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Sep 2018 10:16:53 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8OAGruI032240; Mon, 24 Sep 2018 10:16:53 GMT Received: from tpasj.sg.oracle.com (/10.186.50.4) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Sep 2018 03:16:52 -0700 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH 9/9] generic/387 fix _scratch_mkfs_sized option for btrfs Date: Mon, 24 Sep 2018 18:16:33 +0800 Message-Id: <1537784193-24431-10-git-send-email-anand.jain@oracle.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1537784193-24431-1-git-send-email-anand.jain@oracle.com> References: <1537784193-24431-1-git-send-email-anand.jain@oracle.com> X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9025 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=860 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809240108 Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP btrfs needs 200mb to create a fs with default block group which is non mixed, so pass 200mb 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..9d9d65d222c8 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 ~200mb to create default blockgroup fs +_scratch_mkfs_sized $((200 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount testfile=$SCRATCH_MNT/testfile