Re: [Qemu-devel] [PATCH v4 12/20] qed: Switch to .bdrv_co_block_status()

2017-12-04 Thread Vladimir Sementsov-Ogievskiy
01.12.2017 02:17, Eric Blake wrote: On 11/30/2017 04:27 AM, Vladimir Sementsov-Ogievskiy wrote: 12.10.2017 21:59, Eric Blake wrote: We are gradually moving away from sector-based interfaces, towards byte-based.  Update the qed driver accordingly, taking the opportunity to inline qed_is_allocate

Re: [Qemu-devel] [PATCH v4 12/20] qed: Switch to .bdrv_co_block_status()

2017-12-01 Thread Eric Blake
On 11/30/2017 04:27 AM, Vladimir Sementsov-Ogievskiy wrote: 12.10.2017 21:59, Eric Blake wrote: We are gradually moving away from sector-based interfaces, towards byte-based.  Update the qed driver accordingly, taking the opportunity to inline qed_is_allocated_cb() into its lone caller (the call

Re: [Qemu-devel] [PATCH v4 12/20] qed: Switch to .bdrv_co_block_status()

2017-11-30 Thread Vladimir Sementsov-Ogievskiy
12.10.2017 21:59, Eric Blake wrote: We are gradually moving away from sector-based interfaces, towards byte-based. Update the qed driver accordingly, taking the opportunity to inline qed_is_allocated_cb() into its lone caller (the callback used to be important, until we switched qed to coroutine

[Qemu-devel] [PATCH v4 12/20] qed: Switch to .bdrv_co_block_status()

2017-10-12 Thread Eric Blake
We are gradually moving away from sector-based interfaces, towards byte-based. Update the qed driver accordingly, taking the opportunity to inline qed_is_allocated_cb() into its lone caller (the callback used to be important, until we switched qed to coroutines). There is no intent to optimize ba