xfstests: check block truncation after write failure

Extraced from  https://bugzilla.kernel.org/show_bug.cgi?id=22452
"data corruption after mmap()ing a file and writev() some data to another file"

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Christoph Hellwig
2010-11-19 15:57:05 +01:00
parent a9f5ef25fb
commit 7f71f3ac17
5 changed files with 137 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
QA output created by 246
0000000 6161 6161 6161 6161 6161 6262 6262 6262
0000020 6262 6262 6363 6363 6363 6363 6363
0000036