io_u: re-invalidate cache when looping around without file open/close
authorJens Axboe <axboe@kernel.dk>
Thu, 26 Oct 2017 18:08:20 +0000 (12:08 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 26 Oct 2017 18:08:20 +0000 (12:08 -0600)
commit0bcf41cdc22dfee6b3f3b2ba9a533b4b103c70c2
tree2d282984387ec4f9942c926c750b8fedbc8ddb7a
parent83c8b093f35169c8e4a38148320881a7ca7b8613
io_u: re-invalidate cache when looping around without file open/close

If we're doing buffered IO and we end up wrapping around for a
time based run, then ensure that we re-invalidate the kernel
cache for the file.

Reported-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_u.c