Re: [Qemu-devel] [PATCH] qcow2: Set zero flag for discarded clusters

2014-02-08 Thread Kevin Wolf
Am 08.02.2014 um 17:17 hat Max Reitz geschrieben: > On 08.02.2014 16:28, Kevin Wolf wrote: > >Instead of making the backing file contents visible again after a discard > >request, set the zero flag if possible (i.e. on version >= 3). > > > >Signed-off-by: Kevin Wolf > >--- > > block/qcow2-cluster

Re: [Qemu-devel] [PATCH] qcow2: Set zero flag for discarded clusters

2014-02-08 Thread Max Reitz
On 08.02.2014 16:28, Kevin Wolf wrote: Instead of making the backing file contents visible again after a discard request, set the zero flag if possible (i.e. on version >= 3). Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 22 -- 1 file changed, 20 insertions(+), 2

Re: [Qemu-devel] [PATCH] qcow2: Set zero flag for discarded clusters

2014-02-08 Thread Max Reitz
On 08.02.2014 16:28, Kevin Wolf wrote: Instead of making the backing file contents visible again after a discard request, set the zero flag if possible (i.e. on version >= 3). Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 22 -- 1 file changed, 20 insertions(+), 2

[Qemu-devel] [PATCH] qcow2: Set zero flag for discarded clusters

2014-02-08 Thread Kevin Wolf
Instead of making the backing file contents visible again after a discard request, set the zero flag if possible (i.e. on version >= 3). Signed-off-by: Kevin Wolf --- block/qcow2-cluster.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/block/qcow2-clu