[Qemu-devel] [PATCH v6 01/14] qcow2: Allow full discard

2014-04-29 Thread Max Reitz
Normally, discarded sectors should read back as zero. However, there are cases in which a sector (or rather cluster) should be discarded as if they were never written in the first place, that is, reading them should fall through to the backing file again. Signed-off-by: Max Reitz

Re: [Qemu-devel] [PATCH v6 01/14] qcow2: Allow full discard

2014-04-29 Thread Eric Blake
On 04/29/2014 09:07 AM, Max Reitz wrote: Normally, discarded sectors should read back as zero. However, there are cases in which a sector (or rather cluster) should be discarded as if they were never written in the first place, that is, reading them should fall through to the backing file