[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
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, (continued)
- [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Peter Lieven, 2013/09/13
- Re: [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Paolo Bonzini, 2013/09/13
- Re: [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Eric Blake, 2013/09/13
- Re: [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Peter Lieven, 2013/09/13
- Re: [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Eric Blake, 2013/09/13
- Re: [Qemu-devel] [PATCH 08/12] qemu-img: conditionally zero out target on convert, Paolo Bonzini, 2013/09/16
[Qemu-devel] [PATCH 07/12] block: introduce bdrv_zeroize, Peter Lieven, 2013/09/13
[Qemu-devel] [PATCH 05/12] block: add logical block provisioning information to BlockDriverInfo, Peter Lieven, 2013/09/13
[Qemu-devel] [PATCH 06/12] iscsi: add .bdrv_get_info, Peter Lieven, 2013/09/13