fio: fix aio trim completion latencies
authorVincent Fu <vincent.fu@wdc.com>
Mon, 8 Jul 2019 19:23:54 +0000 (15:23 -0400)
committerJens Axboe <axboe@kernel.dk>
Tue, 9 Jul 2019 14:36:32 +0000 (08:36 -0600)
commit04ba61dfa67784d4dfcc22a2b3de7ede28e22e40
tree7b9fd9140e512f148be407edef079482ef4f48d4
parent308aa5d011158d5f7fa533a60199066dd1858e4c
fio: fix aio trim completion latencies

The io_uring, libaio, and posixaio ioengines actually carry out
synchronous trim operations, but latency timestamps are recorded as if
the trims were issued asynchronously. This patch fixes how timestamps
are recorded for trim operations issued by these ioengines.

Fixes: https://github.com/axboe/fio/issues/764
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
engines/libaio.c
engines/posixaio.c
ioengines.c
ioengines.h