Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
when it's time to do IO to that file.
pre_read=bool If this is given, files will be pre-read into memory before
- starting the given IO operation.
+ starting the given IO operation. This will also clear
+ the 'invalidate' flag, since it is pointless to pre-read
+ and then drop the cache.
unlink=bool Unlink the job files when done. Not the default, as repeated
runs of that job would then waste time recreating the file
if (td->o.verify != VERIFY_NONE)
td->o.refill_buffers = 1;
+ if (td->o.pre_read)
+ td->o.invalidate_cache = 0;
+
return 0;
}