btrfs-progs: test/fsck: Introduce test images containing tree reloc tree
authorQu Wenruo <wqu@suse.com>
Fri, 10 Nov 2017 01:34:17 +0000 (09:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 3 Jan 2018 16:09:42 +0000 (17:09 +0100)
commit4e4c5d354912b2e8adaf4c64bfee00b1bdc420af
tree0112379bb01b7492100bf70d716ec4a8c6c3e522
parent5ee1956b892a27bc347df3c84ea3fa241567f0cb
btrfs-progs: test/fsck: Introduce test images containing tree reloc tree

Reloc tree is a special tree with very short life span.  It acts as a
special snapshot for any tree, with related nodes/leaves or EXTENT_DATA
modified to point to new position.

Considering the short life span and its special purpose, it should be
quite reasonable to keep them as both corner case for fsck and
educational dump for anyone interested in relocation.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fsck-tests/027-tree-reloc-tree/test.sh [new file with mode: 0755]
tests/fsck-tests/027-tree-reloc-tree/tree_reloc_for_data_reloc.img.xz [new file with mode: 0644]
tests/fsck-tests/027-tree-reloc-tree/tree_reloc_for_fs_tree.img.xz [new file with mode: 0644]