summaryrefslogtreecommitdiff
path: root/io_u_queue.c
AgeCommit message (Collapse)Author
2018-10-19fio: enable cross-thread overlap checking with processesVincent Fu
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>
2017-11-02io_u_queue: convert rings to boolJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2015-03-19io_u_queue: add debug assert check on adding too many elementsJens Axboe
Caught a bug in the io-threads branch, lets merge it into master. Signed-off-by: Jens Axboe <axboe@fb.com>
2013-12-06Calloc() cleanupJens Axboe
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2013-05-28Replace list based free/busy/requeue list with FIFO + ringJens Axboe
Cache friendliness of the list is pretty low. This has provably lower overhead. Signed-off-by: Jens Axboe <axboe@kernel.dk>