fio: enable cross-thread overlap checking with processes
authorVincent Fu <vincent.fu@wdc.com>
Wed, 17 Oct 2018 16:03:23 +0000 (12:03 -0400)
committerJens Axboe <axboe@kernel.dk>
Fri, 19 Oct 2018 17:09:17 +0000 (11:09 -0600)
commit3114b675fd2b77ffa0f485b466811feb34dc57ed
tree75f55f54c2b399eae5c1b25c83e8f3fbce908efb
parent1368d95b060802f3032bb662144faa99bd521b56
fio: enable cross-thread overlap checking with processes

Overlap checking with io_submit_mode=offload requires relevant jobs to
access each other's io_u's and io_u_all members. This patch modifies the
fio_memalign and io_u_queue helpers to include an indicator signifying
whether operations should use the shared memory pool. When fio is
carrying out cross-job overlap checking in offload submission mode,
these variables will be allocated from shared memory so that processes
can be used and threads will no longer be required.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
io_u_queue.c
io_u_queue.h
lib/memalign.c
lib/memalign.h
t/dedupe.c