Re: [Qemu-devel] [PATCH 4/5] block: Switch discard 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_discard and > discard_alignment. Rename them, using 'pdiscard' as an aid to > track which remaining discard interfaces need con

[Qemu-devel] [PATCH 4/5] block: Switch discard 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_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