mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs/004: increase the buffer size of logical-resolve to the maximum value 64K
Because of commit e76e13ce8c ("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>
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ _btrfs_inspect_addr()
|
|||||||
expect_addr=$3
|
expect_addr=$3
|
||||||
expect_inum=$4
|
expect_inum=$4
|
||||||
file=$5
|
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
|
echo "# $cmd" >> $seqres.full
|
||||||
out=`$cmd`
|
out=`$cmd`
|
||||||
echo "$out" >> $seqres.full
|
echo "$out" >> $seqres.full
|
||||||
|
|||||||
Reference in New Issue
Block a user