Re: [Qemu-devel] [PATCH v3 17/22] block: Switch discard length bounds to byte-based

2016-06-24 Thread Kevin Wolf
Am 24.06.2016 um 16:15 hat Eric Blake geschrieben: > On 06/24/2016 12:43 AM, Fam Zheng wrote: > > On Thu, 06/23 16:37, Eric Blake wrote: > >> 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.

Re: [Qemu-devel] [PATCH v3 17/22] block: Switch discard length bounds to byte-based

2016-06-24 Thread Eric Blake
On 06/24/2016 12:43 AM, Fam Zheng wrote: > On Thu, 06/23 16:37, Eric Blake wrote: >> 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 re

Re: [Qemu-devel] [PATCH v3 17/22] block: Switch discard length bounds to byte-based

2016-06-23 Thread Fam Zheng
On Thu, 06/23 16:37, Eric Blake wrote: > 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

[Qemu-devel] [PATCH v3 17/22] block: Switch discard length bounds to byte-based

2016-06-23 Thread 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 help us catch the ch