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" <w90p...@gmail.com
<mailto:w90p...@gmail.com>> написал:
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 <w90p...@gmail.com <mailto:w90p...@gmail.com>>
---
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