From patchwork Tue Apr 17 14:56:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anand Jain X-Patchwork-Id: 10345415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9282360542 for ; Tue, 17 Apr 2018 14:54:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F5032837D for ; Tue, 17 Apr 2018 14:54:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73AE8283F2; Tue, 17 Apr 2018 14:54:44 +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=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 2C01F2837D for ; Tue, 17 Apr 2018 14:54:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752592AbeDQOym (ORCPT ); Tue, 17 Apr 2018 10:54:42 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:37670 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751836AbeDQOyk (ORCPT ); Tue, 17 Apr 2018 10:54:40 -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 w3HEpExS111728; Tue, 17 Apr 2018 14:54:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id; s=corp-2017-10-26; bh=HQYUCWIWtOgCLeY20SWx2M5uB5pkJt/GPbvGdprojEo=; b=kJEnJ0Aww48rWyz+MXWiLhLjJ/CnKyg3iO0Zh2A9PKtcQY8oEFVM+8KnAnaA88i4O1fr fkSsn8r2jhUqfkXatwGL/rGgPwD3DJpnH0Pn4dj/EwgBHIK1E9goCgTX2NNdNVAmwuAz rpUJ9nFInMcpq6l1Mue1RQUqeV2GER6PXIkQxhGE+WDwNGJQZS38d/ryVrCl0ePAQIPi VBJaTmM52FbfJPI1Jj5SsnnJXt7bRLlWfdFZamBQ8TBAaQlhnnYQnLjZJ0oFm3VE7eDM zxOPGBdQNseb7cCKxRD5kU5ORNXPKscJ2Sdv0UWfAsVxy7xGEy3anTMM2NTGDHYeIsqC vg== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2hbam62fsn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Apr 2018 14:54:40 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w3HEsd1V001395 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Apr 2018 14:54:39 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w3HEscp4024560; Tue, 17 Apr 2018 14:54:38 GMT Received: from tp.jp.oracle.com (/10.191.3.50) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 Apr 2018 07:54:38 -0700 From: Anand Jain To: fstests@vger.kernel.org Cc: linux-btrfs@vger.kernel.org Subject: [PATCH] fstests: btrfs/130 make it workable on small systems Date: Tue, 17 Apr 2018 22:56:40 +0800 Message-Id: <20180417145640.12888-1-anand.jain@oracle.com> X-Mailer: git-send-email 2.15.0 X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8865 signatures=668698 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=13 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=663 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804170134 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 This test case takes a long time to complete at the default LOAD_FACTOR=1, so reduce the nr_extents to 256, so for larger systems it can still use higher LOAD_FACTOR. Signed-off-by: Anand Jain --- tests/btrfs/130 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/btrfs/130 b/tests/btrfs/130 index 96c8f9d9d526..05f92c11a998 100755 --- a/tests/btrfs/130 +++ b/tests/btrfs/130 @@ -60,7 +60,7 @@ _require_scratch_reflink _scratch_mkfs > /dev/null 2>&1 _scratch_mount -nr_extents=$((4096 * $LOAD_FACTOR)) +nr_extents=$((256 * $LOAD_FACTOR)) # Use 128K blocksize, the default value of both deduperemove or # inband dedupe