fully split aio_pool from BlockDriver
authorChristoph Hellwig <hch@lst.de>
Mon, 25 May 2009 10:37:32 +0000 (12:37 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 27 May 2009 14:46:03 +0000 (09:46 -0500)
commitc16b5a2ca0b186de618654a576bdad9cdd2d1ab2
tree8c793602c179ad2d5adbce65bc6583340a12cd92
parentad53089b0d0b4bc0731d978e5713365e1a91ba74
fully split aio_pool from BlockDriver

Now that we have a separate aio pool structure we can remove those
aio pool details from BlockDriver.

Every driver supporting AIO now needs to declare a static AIOPool
with the aiocb size and the cancellation method.  This cleans up the
current code considerably and will make it cleaner and more obvious
to support two different aio implementations behind a single
BlockDriver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block.c
block/curl.c
block/qcow.c
block/qcow2.c
block/raw-posix.c
block_int.h
dma-helpers.c
dma.h
vl.c