blob: 57d26d42c8cdf74cfdba50eebf087484703c6ea7 [file] [log] [blame]
NAME = "aio dio bugs"
AUTHOR = "Rafal Wijata <>"
TEST_TYPE = "client"
TEST_CLASS = "Kernel"
TEST_CATEGORY = "Functional"
DOC = """\
This was originally submitted to by
Rafal Wijata <>. It caught a race in dio aio completion
that would call aio_complete() before the dio callers would update i_size.
A stat after io_getevents() would not see the new file size.
The bug was fixed in the fs/direct-io.c completion reworking that appeared
in 2.6.20. This test should fail on 2.6.19.