[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] block: Don't emulate natively supported pwritev
Re: [Qemu-block] [PATCH] block: Don't emulate natively supported pwritev flags
Wed, 8 Jun 2016 15:12:54 +0100
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:
Description: PGP signature