On Thu, Jun 02, 2016 at 03:22:50PM +0800, Qu Wenruo wrote: > 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 across 2nd btrfs backup super > block. > > The naming 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 <quwen...@cn.fujitsu.com> > --- > tests/common | 8 ++++ > tests/convert-tests.sh | 30 ++++++++++++++
Please move the testing framework changes to another patch. This is otherwise a good change, as we'll collect images for convert the same way we do for checker. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html