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 -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature