Signed-off-by: Pan Liu <liupan1111@gmail.com>
*/
ret = rbd_aio_get_return_value(fri->completion);
if (ret < 0) {
*/
ret = rbd_aio_get_return_value(fri->completion);
if (ret < 0) {
io_u->resid = io_u->xfer_buflen;
} else
io_u->error = 0;
io_u->resid = io_u->xfer_buflen;
} else
io_u->error = 0;
failed_comp:
rbd_aio_release(fri->completion);
failed:
failed_comp:
rbd_aio_release(fri->completion);
failed:
td_verror(td, io_u->error, "xfer");
return FIO_Q_COMPLETED;
}
td_verror(td, io_u->error, "xfer");
return FIO_Q_COMPLETED;
}