Re: [Qemu-devel] [PATCH v3] block: unify blocksize types

2018-02-09 Thread Eric Blake
On 02/09/2018 04:36 AM, Piotr Sarna wrote: BlockSizes structure used in block size probing has uint32_t types for logical and physical sizes. These fields are wrongfully assigned to uint16_t in BlockConf, which results, among other errors, in assigning 0 instead of 65536 (which will be the case

Re: [Qemu-devel] [PATCH v3] block: unify blocksize types

2018-02-09 Thread Kevin Wolf
Am 09.02.2018 um 11:36 hat Piotr Sarna geschrieben: > BlockSizes structure used in block size probing has uint32_t types > for logical and physical sizes. These fields are wrongfully assigned > to uint16_t in BlockConf, which results, among other errors, > in assigning 0 instead of 65536 (which

[Qemu-devel] [PATCH v3] block: unify blocksize types

2018-02-09 Thread Piotr Sarna
BlockSizes structure used in block size probing has uint32_t types for logical and physical sizes. These fields are wrongfully assigned to uint16_t in BlockConf, which results, among other errors, in assigning 0 instead of 65536 (which will be the case in at least future LizardFS block device