aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLu Fengqi <lufq.fnst@cn.fujitsu.com>2018-03-06 15:02:31 +0800
committerEryu Guan <guaneryu@gmail.com>2018-03-07 21:16:46 +0800
commit34369fb21cc24ce8b81d5b529b21869014391bf0 (patch)
treeb7fd0f110118438f9aac27318a896abbd04e177c
parent204860fa5c454e2b3b75fb3c8fc15dd9b6115a70 (diff)
downloadxfstests-dev-34369fb21cc24ce8b81d5b529b21869014391bf0.tar.gz
btrfs/004: increase the buffer size of logical-resolve to the maximum value 64K
Because of commit e76e13ce8c0b ("fsstress: implement the clonerange/deduperange ioctls"), dedupe makes the number of references to the same extent item increase so much that the default 4K buffer of logical-resolve is no longer sufficient. Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Reviewed-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
-rwxr-xr-xtests/btrfs/0042
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/btrfs/004 b/tests/btrfs/004
index de583cc355..0d2efb91db 100755
--- a/tests/btrfs/004
+++ b/tests/btrfs/004
@@ -103,7 +103,7 @@ _btrfs_inspect_addr()
expect_addr=$3
expect_inum=$4
file=$5
- cmd="$BTRFS_UTIL_PROG inspect-internal logical-resolve -P $addr $mp"
+ cmd="$BTRFS_UTIL_PROG inspect-internal logical-resolve -s 65536 -P $addr $mp"
echo "# $cmd" >> $seqres.full
out=`$cmd`
echo "$out" >> $seqres.full