mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-11 17:06:32 +00:00
0155481cc9
Add the testcase for false alert of data extent backref lost with the extent offset. The image can be reproduced by the following commands: ------ dev=~/test.img mnt=/mnt/btrfs umount $mnt &> /dev/null fallocate -l 128M $dev mkfs.btrfs $dev mount $dev $mnt for i in `seq 1 10`; do xfs_io -f -c "pwrite 0 2K" $mnt/file$i done xfs_io -f -c "falloc 0 64K" $mnt/file11 for i in `seq 1 32`; do xfs_io -f -c "reflink $mnt/file11 0 $(($i * 64))K 64K" $mnt/file11 done xfs_io -f -c "reflink $mnt/file11 32K $((33 * 64))K 32K" $mnt/file11 btrfs subvolume snapshot $mnt $mnt/snap1 umount $mnt btrfs-image -c9 $dev extent_data_ref.img ------ Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com> |
||
---|---|---|
.. | ||
block_group_item_false_alert.raw.xz | ||
extent_data_ref.img | ||
inline_regular_coexist.img | ||
keyed_block_ref.img | ||
keyed_data_ref_only.img | ||
keyed_data_ref_with_shared_leaf.img | ||
keyed_data_ref.img | ||
no_inline_ref.img | ||
no_skinny_ref.img | ||
ref_count_mismatch_false_alert.img | ||
shared_block_ref_only.raw.xz | ||
shared_block_ref.img | ||
shared_data_ref_only.img | ||
shared_data_ref.img | ||
test.sh |