Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] block: Removed unused sector-based blocking I/O

2018-11-14 Thread Eric Blake
[Reviving an old series] On 5/3/18 8:36 AM, Alberto Garcia wrote: On Fri 27 Apr 2018 05:43:33 PM CEST, Eric Blake wrote: -static int bdrv_rw_co(BdrvChild *child, int64_t sector_num, uint8_t *buf, - int nb_sectors, bool is_write, BdrvRequestFlags flags) -{ -QEMUIOVector

Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] block: Removed unused sector-based blocking I/O

2018-05-08 Thread Stefan Hajnoczi
On Thu, Apr 26, 2018 at 08:43:05AM -0500, Eric Blake wrote: > We are gradually moving away from sector-based interfaces, towards > byte-based. Now that all callers of blocking I/O have been converted > to use our preferred byte-based bdrv_p{read,write}(), we can > delete the unused bdrv_{read,writ

Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] block: Removed unused sector-based blocking I/O

2018-05-03 Thread Alberto Garcia
On Fri 27 Apr 2018 05:43:33 PM CEST, Eric Blake wrote: >>> -static int bdrv_rw_co(BdrvChild *child, int64_t sector_num, uint8_t *buf, >>> - int nb_sectors, bool is_write, BdrvRequestFlags >>> flags) >>> -{ >>> -QEMUIOVector qiov; >>> -struct iovec iov = { >>> -

Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] block: Removed unused sector-based blocking I/O

2018-04-27 Thread Eric Blake
On 04/27/2018 09:01 AM, Alberto Garcia wrote: > On Thu 26 Apr 2018 03:43:05 PM CEST, Eric Blake wrote: >> We are gradually moving away from sector-based interfaces, towards >> byte-based. Now that all callers of blocking I/O have been converted >> to use our preferred byte-based bdrv_p{read,write}

Re: [Qemu-devel] [Qemu-block] [PATCH 3/3] block: Removed unused sector-based blocking I/O

2018-04-27 Thread Alberto Garcia
On Thu 26 Apr 2018 03:43:05 PM CEST, Eric Blake wrote: > We are gradually moving away from sector-based interfaces, towards > byte-based. Now that all callers of blocking I/O have been converted > to use our preferred byte-based bdrv_p{read,write}(), we can > delete the unused bdrv_{read,write}().