[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/mirror: enable detect zeroes when driving
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH] block/mirror: enable detect zeroes when driving mirror |
Date: |
Tue, 22 Nov 2016 07:44:58 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 |
On 11/21/2016 08:31 PM, wyang wrote:
> On 2016年11月21日 14:51, Vasiliy Tolstov wrote:
>>
>> 21 Ноя 2016 г. 4:27 пользователь "Yang Wei" <address@hidden
>> <mailto:address@hidden>> написал:
>> >
>> > In order to preserve sparse disk image, detect_zeroes
>> > should also be enabled when bdrv_get_block_status_above()
>> > returns BDRV_BLOCK_DATA
>> >
>> > Signed-off-by: Yang Wei <address@hidden <mailto:address@hidden>>
>> > ---
>>
>> Hi, does this patch fixes bug
>> https://bugzilla.redhat.com/show_bug.cgi?id=1219541 ? Or it unrelated
>> to this issue?
>>
> yes, you also need to backport the functionality of NBD's write
> zeroes( fa778f and 1f4d6d)
And also my posted (but not yet applied) patch:
nbd: Allow unmap and fua during write zeroes
https://lists.gnu.org/archive/html/qemu-devel/2016-11/msg03496.html
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature