Re: [Qemu-devel] [PULL 18/43] block: Switch discard length bounds to byte-based

2016-07-06 Thread Kevin Wolf
Am 06.07.2016 um 04:14 hat Eric Blake geschrieben: > On 07/05/2016 09:50 AM, Kevin Wolf wrote: > > From: Eric Blake > > > > Sector-based limits are awkward to think about; in our on-going > > quest to move to byte-based interfaces, convert max_discard and > > discard_alignment. Rename them, usin

Re: [Qemu-devel] [PULL 18/43] block: Switch discard length bounds to byte-based

2016-07-05 Thread Eric Blake
On 07/05/2016 09:50 AM, Kevin Wolf wrote: > From: Eric Blake > > Sector-based limits are awkward to think about; in our on-going > quest to move to byte-based interfaces, convert max_discard and > discard_alignment. Rename them, using 'pdiscard' as an aid to > track which remaining discard inter

[Qemu-devel] [PULL 18/43] block: Switch discard length bounds to byte-based

2016-07-05 Thread Kevin Wolf
From: Eric Blake Sector-based limits are awkward to think about; in our on-going quest to move to byte-based interfaces, convert max_discard and discard_alignment. Rename them, using 'pdiscard' as an aid to track which remaining discard interfaces need conversion, and so that the compiler will h