btrfs-progs: tests: Add test case to check file hole extents with NO_HOLES flag
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Fri, 16 Jun 2017 01:43:23 +0000 (09:43 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 26 Jun 2017 15:10:02 +0000 (17:10 +0200)
commitbb305ae832c4864af85339a3d4947394d4edfb1d
treef61253a3f65ccd9be28d17e5175a2b13872fa315
parent163ca0e431a72bc48c52c2fd9132e32616b9036a
btrfs-progs: tests: Add test case to check file hole extents with NO_HOLES flag

Add test case which we have NO_HOLES incompat flag while still have
hole file extent.

This can be created by enabling NO_HOLES feature on an existing
filesystem, which lowmem mode would cause false alert for it.

Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
[ minor adjustments ]
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fsck-tests/025-file-extents/test.sh