On 01.09.24 17:24, Vincent Vanlaer wrote:
Non-active block commits do not discard blocks only containing zeros, causing images to lose sparseness after the commit. This commit fixes that by writing zero blocks using blk_co_pwrite_zeroes rather than writing them out as any other arbitrary data.Signed-off-by: Vincent Vanlaer<libvirt-e6954...@volkihar.be>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@yandex-team.ru> -- Best regards, Vladimir