btrfs-progs: tests: Add new test case for file extent false alerts
commitcbaa289d3d1350a7aad8f3f96df2b66ffeaa9155
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Tue, 21 Feb 2017 08:34:36 +0000 (21 16:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Wed, 8 Mar 2017 12:00:49 +0000 (8 13:00 +0100)
treea42c1d636919e13996a96ada7caf5cea1520dfcc
parent381b43a0201e78049f11e8ededd251a930cbaeb8
btrfs-progs: tests: Add new test case for file extent false alerts

Lowmem mode exposed several false alerts, all related to file extents
check.

1) Partly written prealloc extent
   Cause lowmem mode to report missing csum or prealloc extent should
   not have csum

2) Compressed inline extent
   Cause lowmem mode to find mismatch on inline len and item len.
   While no error message is output but exit silently.

Reported-by: Chris Murphy <chris@colorremedies.com>
Reported-by: Christoph Anton Mitterer <calestyo@scientia.net>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
tests/fsck-tests/025-file-extents/test.sh [new file with mode: 0755]