fio: enable overlap checking with offload submission
authorVincent Fu <vincent.fu@wdc.com>
Mon, 1 Oct 2018 18:22:10 +0000 (14:22 -0400)
committerVincent Fu <vincent.fu@wdc.com>
Mon, 15 Oct 2018 19:57:23 +0000 (15:57 -0400)
commitc06379a65d467bdcc782d7e1aa067e6391cd5a68
tree0d16fb622ab73b5f517fb063ff9ffa5cb9d8a0c6
parenta67c6dd1c28bd9aae73d9b3443d3a8ae6c070b1b
fio: enable overlap checking with offload submission

Enable use of the serialize_overlap option with
io_submit_mode=offload. Threads with both of these options enabled will
check each other's in-flight IOs for overlap. If overlap is found,
submission of the new IO will be held back until the overlapping IO has
completed.

Threads must be used when fio is run in this mode because jobs need to
access each other's io_u's. io_u's are not allocated from the shared memory
area.

This fixes "fio serialize across jobs"
https://www.spinics.net/lists/fio/msg07133.html

Tested-by: Jeff Furlong <jeff.furlong@wdc.com>
backend.c
fio.h
ioengines.c
rate-submit.c