Il 24/02/2014 02:01, Fam Zheng ha scritto:

I would do this in qcow2:

 1. In qcow2_co_writev, allocate cluster regardless of if data is zero or not.
 2. If data is zero, set QCOW2_OFLAG_ZERO in L2.

This is (or should be) bdrv_co_write_zeroes without BDRV_REQ_MAY_UNMAP.

Paolo

Reply via email to