qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCHv2] block: optimize zero writes with bdrv_write_z


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCHv2] block: optimize zero writes with bdrv_write_zeroes
Date: Fri, 28 Mar 2014 09:53:54 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 03/28/2014 08:46 AM, Peter Lieven wrote:
> this patch tries to optimize zero write requests
> by automatically using bdrv_write_zeroes if it is
> supported by the format.
> 
> This significantly speeds up file system initialization and
> should speed zero write test used to test backend storage
> performance.
> 

> 
>  block.c                   |   39 ++++++++++++++++++++++++++++++++++++++-
>  include/block/block_int.h |   12 ++++++++++++
>  include/qemu-common.h     |    1 +
>  qemu-options.hx           |    6 ++++++
>  util/iov.c                |   21 +++++++++++++++++++++
>  5 files changed, 78 insertions(+), 1 deletion(-)
> 

Is there any QMP query- command that can expose the current setting of
this value?  Is this something worth making changeable during runtime?
Is it something that can be requested per-disk at hotplug time?

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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