Re: [Qemu-devel] [PATCH v3 04/20] stream: Switch stream_run() to byte-based

2017-07-05 Thread Kevin Wolf
Am 05.07.2017 um 14:13 hat Eric Blake geschrieben: > On 07/04/2017 10:00 AM, Kevin Wolf wrote: > > Am 27.06.2017 um 21:24 hat Eric Blake geschrieben: > >> We are gradually converting to byte-based interfaces, as they are > >> easier to reason about than sector-based. Change the internal > >> loop

Re: [Qemu-devel] [PATCH v3 04/20] stream: Switch stream_run() to byte-based

2017-07-05 Thread Eric Blake
On 07/04/2017 10:00 AM, Kevin Wolf wrote: > Am 27.06.2017 um 21:24 hat Eric Blake geschrieben: >> We are gradually converting to byte-based interfaces, as they are >> easier to reason about than sector-based. Change the internal >> loop iteration of streaming to track by bytes instead of sectors >

Re: [Qemu-devel] [PATCH v3 04/20] stream: Switch stream_run() to byte-based

2017-07-04 Thread Kevin Wolf
Am 27.06.2017 um 21:24 hat Eric Blake geschrieben: > We are gradually converting to byte-based interfaces, as they are > easier to reason about than sector-based. Change the internal > loop iteration of streaming to track by bytes instead of sectors > (although we are still guaranteed that we iter

Re: [Qemu-devel] [PATCH v3 04/20] stream: Switch stream_run() to byte-based

2017-06-30 Thread Jeff Cody
On Tue, Jun 27, 2017 at 02:24:42PM -0500, Eric Blake wrote: > We are gradually converting to byte-based interfaces, as they are > easier to reason about than sector-based. Change the internal > loop iteration of streaming to track by bytes instead of sectors > (although we are still guaranteed tha

[Qemu-devel] [PATCH v3 04/20] stream: Switch stream_run() to byte-based

2017-06-27 Thread Eric Blake
We are gradually converting to byte-based interfaces, as they are easier to reason about than sector-based. Change the internal loop iteration of streaming to track by bytes instead of sectors (although we are still guaranteed that we iterate by steps that are sector-aligned). Signed-off-by: Eric