aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2018-04-17 22:56:40 +0800
committerEryu Guan <guaneryu@gmail.com>2018-04-24 17:49:05 +0800
commite46a9aa0bef7991081f5542668a13e74acd68111 (patch)
tree46e6a94706640974fd1e3168219c3ef65cbf9b3f
parent7c8651be0a1e165e6a2f75bd4206026b31aa13f0 (diff)
downloadxfstests-dev-e46a9aa0bef7991081f5542668a13e74acd68111.tar.gz
btrfs/130: make it workable on small systems
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> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-xtests/btrfs/1302
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/130 b/tests/btrfs/130
index 96c8f9d9d5..05f92c11a9 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