Re: [Qemu-devel] [PATCH] block: Use BDRV_REQUEST_MAX_BYTES instead of BDRV_REQUEST_MAX_SECTORS

2019-05-14 Thread Kevin Wolf
Am 14.05.2019 um 15:57 hat Alberto Garcia geschrieben: > There are a few places in which we turn a number of bytes into sectors > in order to compare the result against BDRV_REQUEST_MAX_SECTORS > instead of using BDRV_REQUEST_MAX_BYTES directly. > > Signed-off-by: Alberto Garcia Thanks, applied

[Qemu-devel] [PATCH] block: Use BDRV_REQUEST_MAX_BYTES instead of BDRV_REQUEST_MAX_SECTORS

2019-05-14 Thread Alberto Garcia
There are a few places in which we turn a number of bytes into sectors in order to compare the result against BDRV_REQUEST_MAX_SECTORS instead of using BDRV_REQUEST_MAX_BYTES directly. Signed-off-by: Alberto Garcia --- block/io.c | 6 +++--- qemu-io-cmds.c | 7 +++ 2 files changed, 6