qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 07/12] block: introduce bdrv_zeroize


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 07/12] block: introduce bdrv_zeroize
Date: Fri, 13 Sep 2013 12:23:40 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/13/2013 04:25 AM, Peter Lieven wrote:
> this patch adds a call to completely zero out a block device.
> the operation is speed up by checking the block status and

s/speed/sped/

> only writing zeroes to the device if they currently do not
> return zeroes. optionally the zero writing can be speed up

and again

> by setting the flag BDRV_REQ_MAY_UNMAP to emulate the zero
> write by unmapping if the driver supports it.
> 
> Signed-off-by: Peter Lieven <address@hidden>
> ---
>  block.c               |   45 +++++++++++++++++++++++++++++++++++++++++++++
>  include/block/block.h |    1 +
>  2 files changed, 46 insertions(+)
> 

-- 
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]