generic: test data corruption on ext4 caused by written/delayed extent

This test exercises the problem with unwritten and delayed extents
in ext4 extent status tree where we might in some cases lose a block
worth of data. Even though this was a ext4 specific problem the
reproducer can be easily run on any file system so let's do that just
in case.

This test exercises the problem fixed in kernel with commit
"ext4: Fix data corruption caused by unwritten and delayed extents"

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Lukas Czerner
2015-05-04 22:56:13 +10:00
committed by Dave Chinner
parent 51c53eb24c
commit 76990371ca
3 changed files with 100 additions and 0 deletions
+1
View File
@@ -88,6 +88,7 @@
083 rw auto enospc stress
084 auto metadata quick
085 auto freeze mount
086 auto prealloc preallocrw quick
088 perms auto quick
089 metadata auto
091 rw auto quick