generic: test data integrity with mixed buffer read and aio dio write

When mixing buffered reads and asynchronous direct writes, it is
possible to end up with the situation where we have stale data in
the page cache while the new data is already written to disk.

This issue should be fixed by patch titled:

fs: Fix page cache inconsistency when mixing buffered and AIO DIO

Signed-off-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Zorro Lang
2017-08-26 21:26:36 +08:00
committed by Eryu Guan
parent af04d7247f
commit 53600ec6d3
5 changed files with 365 additions and 0 deletions
+1
View File
@@ -133,6 +133,7 @@
/src/writemod
/src/writev_on_pagefault
/src/xfsctl
/src/aio-dio-regress/aio-dio-cycle-write
/src/aio-dio-regress/aio-dio-extend-stat
/src/aio-dio-regress/aio-dio-fcntl-race
/src/aio-dio-regress/aio-dio-hole-filling-race