btrfs-progs: convert-test: Add test case for discontinuous hole extent
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 27 Jun 2016 07:50:11 +0000 (15:50 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Jul 2016 11:44:58 +0000 (13:44 +0200)
commit2e58edbdf45b901558dffe98933d19bdb510b35b
tree86bb646028969123f405b2f2d621a089245a07ba
parentafded5ea48e32e27ed407d920ce8dbb94649c319
btrfs-progs: convert-test: Add test case for discontinuous hole extent

For ext* fs containing a large hole(larger than 128M), btrfs-convert
will only insert one 128M hole extent and skip the remaining.

This leads to discontinuous file extents.

Add test case for it, and since it's a pinpoint regression test case, no
combination of convert options nor checksum verification.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/convert-tests/006-large-hole-extent/test.sh [new file with mode: 0755]