generic: test extending sub-block AIO writes for races

This tests Brian Foster's fix for xfs:

   xfs: always drain dio before extending aio write submission

It launches four adjacent 1k IOs past EOF, then reads back
to see if we have 4k worth of the data we wrote, or something else -
possibly zeros from sub-block zeroing and eof racing.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Eric Sandeen
2015-10-14 14:19:31 +11:00
committed by Dave Chinner
parent c892a79edc
commit cef2e7a583
4 changed files with 241 additions and 0 deletions
+1
View File
@@ -114,6 +114,7 @@
109 auto metadata dir
112 rw aio auto quick
113 rw aio auto quick
114 rw aio auto quick
117 attr auto quick
120 other auto quick
123 perms auto quick