diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2016-06-03 10:34:26 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-06-03 16:53:25 +0200 |
commit | dc4bbc37a1f2b8677f2f45cda6a06f9cf462895e (patch) | |
tree | f45e18d375211246d7ce51ab45a090aa1bccfbc5 /tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz | |
parent | fde5ae2e49a9cd7091fb8db8d748d7687a544d23 (diff) |
btrfs-progs: convert-tests: Add test case for backup superblock migration
New convert introduced simpler chunk/extent allocation algorithm, at the
cost of complex backup superblock migration codes.
Use specially built ext2 images to test if btrfs-convert can convert and
rollback images without problem.
All these special ext2 image have blocks/holes across 2nd btrfs backup
superblock.
The naming of test image is like the following:
|<------superblock migration range----->|
64M 64M + 64K
|-Data--|-Data--|/Hole//|-Data--|/Hole//|-Data--|--Data--| = drdhdhdrd
These test cases should check all typical layouts and make sure new
convert works.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz')
-rw-r--r-- | tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz | bin | 0 -> 84568 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz b/tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz Binary files differnew file mode 100644 index 00000000..0d5442ff --- /dev/null +++ b/tests/convert-tests/004-ext2-backup-superblock-ranges/drdhdhrh.e2image.raw.xz |