Make rbd engine use aio flush
authorHaomai Wang <haomaiwang@gmail.com>
Wed, 21 May 2014 08:30:55 +0000 (16:30 +0800)
committerJens Axboe <axboe@fb.com>
Thu, 29 May 2014 20:14:27 +0000 (14:14 -0600)
commit82340a9fb6da0c4cc6a213bfc575c69bfa702712
treeaf33d2b8f8897921c2abd6204ae3bd7ff73466a4
parent988da1208e6dac18a0144888ad19dcc44e4c2ae3
Make rbd engine use aio flush

The fio's option "fsync" can make rbd engine issue sync request. In practice,
we would like to use aio_rbd_flush to make it non-block. So it will be more
reliable to use fio to evaluate actual io scene like qemu.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/rbd.c