Re: [Qemu-devel] [PATCH 02/13] block: Track write zero limits in bytes

2016-05-25 Thread Eric Blake
On 05/25/2016 04:30 AM, Kevin Wolf wrote: > Am 25.05.2016 um 00:25 hat Eric Blake geschrieben: >> Another step towards removing sector-based interfaces: convert >> the maximum write and minimum alignment values from sectorss to > > s/sectorss/sectors/ > >> bytes. Alignment is changed to 'int', s

Re: [Qemu-devel] [PATCH 02/13] block: Track write zero limits in bytes

2016-05-25 Thread Kevin Wolf
Am 25.05.2016 um 00:25 hat Eric Blake geschrieben: > Another step towards removing sector-based interfaces: convert > the maximum write and minimum alignment values from sectorss to s/sectorss/sectors/ > bytes. Alignment is changed to 'int', since it makes no sense > to have an alignment larger

[Qemu-devel] [PATCH 02/13] block: Track write zero limits in bytes

2016-05-24 Thread Eric Blake
Another step towards removing sector-based interfaces: convert the maximum write and minimum alignment values from sectorss to bytes. Alignment is changed to 'int', since it makes no sense to have an alignment larger than the maximum write. Add an assert that no one was trying to use sectors to g