Re: [Qemu-block] [PATCH 3/5] block: Switch transfer length bounds to byte-based

2016-06-14 Thread Kevin Wolf
Am 12.06.2016 um 00:06 hat Eric Blake geschrieben: > On 06/07/2016 06:45 AM, Kevin Wolf wrote: > > Am 03.06.2016 um 19:03 hat Eric Blake geschrieben: > >> Sector-based limits are awkward to think about; in our on-going > >> quest to move to byte-based interfaces, convert max_transfer_length > >>

Re: [Qemu-block] [PATCH 3/5] block: Switch transfer length bounds to byte-based

2016-06-11 Thread Eric Blake
On 06/07/2016 06:45 AM, Kevin Wolf wrote: > Am 03.06.2016 um 19:03 hat Eric Blake geschrieben: >> Sector-based limits are awkward to think about; in our on-going >> quest to move to byte-based interfaces, convert max_transfer_length >> and opt_transfer_length. Rename them (dropping the _length

Re: [Qemu-block] [PATCH 3/5] block: Switch transfer length bounds to byte-based

2016-06-07 Thread Kevin Wolf
Am 03.06.2016 um 19:03 hat Eric Blake geschrieben: > Sector-based limits are awkward to think about; in our on-going > quest to move to byte-based interfaces, convert max_transfer_length > and opt_transfer_length. Rename them (dropping the _length suffix) > so that the compiler will help us catch

[Qemu-block] [PATCH 3/5] block: Switch transfer length bounds to byte-based

2016-06-03 Thread Eric Blake
Sector-based limits are awkward to think about; in our on-going quest to move to byte-based interfaces, convert max_transfer_length and opt_transfer_length. Rename them (dropping the _length suffix) so that the compiler will help us catch the change in semantics across any rebased code. Improve