block: Add refcnt in BlockDriverAIOCB
commitf197fe2b2c77259b6570620f288d905bfa38e2da
authorFam Zheng <famz@redhat.com>
Thu, 11 Sep 2014 05:41:08 +0000 (11 13:41 +0800)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:38:57 +0000 (22 11:38 +0100)
treee9dcfaa75bbd9bc93ae309bbd2129207dc1e36b6
parent0d910cfeaf2076b116b4517166d5deb0fea76394
block: Add refcnt in BlockDriverAIOCB

This will be useful in synchronous cancel emulation with
bdrv_aio_cancel_async.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block.c
include/block/aio.h