[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block/io.c: fix for the allocation failure
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-block] [PATCH] block/io.c: fix for the allocation failure |
Date: |
Mon, 8 Apr 2019 10:00:13 +0100 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
On Fri, Apr 05, 2019 at 05:24:04PM +0300, Andrey Shinkevich wrote:
> On a file system used by the customer, fallocate() returns an error
> if the block is not properly aligned. So, bdrv_co_pwrite_zeroes()
> fails. We can handle that case the same way as it is done for the
> unsupported cases, namely, call to bdrv_driver_pwritev() that writes
> zeroes to an image for the unaligned chunk of the block.
>
> Suggested-by: Denis V. Lunev <address@hidden>
> Signed-off-by: Andrey Shinkevich <address@hidden>
> ---
> block/io.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my block-next tree for QEMU 4.1:
https://github.com/stefanha/qemu/commits/block-next
Stefan
signature.asc
Description: PGP signature
Re: [Qemu-block] [PATCH] block/io.c: fix for the allocation failure,
Stefan Hajnoczi <=