diff mbox

fstests: btrfs/130 make it workable on small systems

Message ID 20180417145640.12888-1-anand.jain@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anand Jain April 17, 2018, 2:56 p.m. UTC
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 <anand.jain@oracle.com>
---
 tests/btrfs/130 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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