qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [Qemu-devel] [PATCH] block/mirror: enable detect zeroes


From: wyang
Subject: Re: [Qemu-block] [Qemu-devel] [PATCH] block/mirror: enable detect zeroes when driving mirror
Date: Wed, 23 Nov 2016 11:14:57 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 2016年11月22日 21:44, Eric Blake wrote:
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
Got it, I would also backport it to my qemu repo. thank you Eric.;-)

Wei





reply via email to

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