summaryrefslogtreecommitdiff
path: root/block/rbd.c
diff options
context:
space:
mode:
authorFam Zheng <famz@redhat.com>2014-09-11 13:41:22 +0800
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-22 11:39:13 +0100
commit7940e5056bfdb5d2861774e294d5459952cd0aee (patch)
tree9bc42d3d09e067306f1eeb83e48835701d7b940f /block/rbd.c
parent997dd8df3e95b2fdbd1f30b3deefaad4e9efd14a (diff)
quorum: Convert quorum_aiocb_info.cancel to .cancel_async
Before, we cancel all the child requests with bdrv_aio_cancel, then free the acb.. Now we just kick off asynchronous cancellation of child requests and return, we know quorum_aio_cb will be called later, so in the end quorum_aio_finalize will take care of calling the caller's cb. Signed-off-by: Fam Zheng <famz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/rbd.c')
0 files changed, 0 insertions, 0 deletions