Re: [Qemu-devel] [PATCH 3/6] block-backend: Refactor AIO emulation

2018-06-15 Thread Stefan Hajnoczi
On Fri, Jun 08, 2018 at 02:04:14PM +0800, Fam Zheng wrote: > BlkRwCo fields are multi-purposed. @offset is sometimes used to pass the > 'req' number for blk_ioctl and blk_aio_ioctl; @iobuf is sometimes the > pointer for QEMUIOVector @qiov sometimes the ioctl @buf. This is not as > clean as it can b

[Qemu-devel] [PATCH 3/6] block-backend: Refactor AIO emulation

2018-06-07 Thread Fam Zheng
BlkRwCo fields are multi-purposed. @offset is sometimes used to pass the 'req' number for blk_ioctl and blk_aio_ioctl; @iobuf is sometimes the pointer for QEMUIOVector @qiov sometimes the ioctl @buf. This is not as clean as it can be. As the coming copy range emulation wants to add more differentia