Add TD_F_SYNCS thread flag
authorJens Axboe <axboe@kernel.dk>
Sat, 26 Feb 2022 17:42:01 +0000 (10:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 26 Feb 2022 17:42:01 +0000 (10:42 -0700)
commit78c0d7a0120f7a117493811f6abf6c2a48a06453
tree7d425e5fbf1ea59c74df05aec066b8b35e0f0898
parentcf2511565f40be1b78b3fc1194e823baf305f0a0
Add TD_F_SYNCS thread flag

It's not enough to just track writes, some operating systems require
a file to be opened for write to issue a file sync. Which does kind
of make sense...

Add such a flag and set it for iolog/blktrace replay, if we see a sync
in there.

This does mean we need to bump the IO engine version, as the engine
flags need to get shifted.

Link: https://github.com/axboe/fio/issues/1352
Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace.c
fio.h
ioengines.h
iolog.c