[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH] block: Don't emulate natively supported pwritev

From: Stefan Hajnoczi
Subject: Re: [Qemu-block] [PATCH] block: Don't emulate natively supported pwritev flags
Date: Wed, 8 Jun 2016 15:12:54 +0100
User-agent: Mutt/1.6.1 (2016-04-27)

On Tue, Jun 07, 2016 at 03:56:37PM +0200, Kevin Wolf wrote:
> Drivers that implement .bdrv_co_pwritev() get the flags passed as an
> argument to said function, but we also unconditionally emulate the flags
> anyway. We shouldn't do that.
> Fix this by clearing all flags that the driver supports natively after
> it returns from .bdrv_co_pwritev().
> Fixes: 4df863f3 ('block: Make supported_write_flags a per-bds property')
> Signed-off-by: Kevin Wolf <address@hidden>
> ---
>  block/io.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Thanks, applied to my block tree:


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]