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

2014-02-18 Thread Kevin Wolf
Am 17.02.2014 um 18:12 hat Eric Blake geschrieben: > On 02/17/2014 07:45 AM, 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/qcow

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

2014-02-17 Thread Eric Blake
On 02/17/2014 07:45 AM, 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 -- > tests/qemu-iotests/04

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

2014-02-17 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 -- tests/qemu-iotests/046 | 18 ++ 2 files changed, 34 insertion

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

2014-02-14 Thread Kevin Wolf
Am 14.02.2014 um 18:05 hat Stefan Hajnoczi geschrieben: > On Sat, Feb 08, 2014 at 05:50:02PM +0100, 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

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

2014-02-14 Thread Stefan Hajnoczi
On Sat, Feb 08, 2014 at 05:50:02PM +0100, 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 > Reviewed-by: Max Reitz > --- > block/qcow2-cluster.c | 22

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

2014-02-14 Thread Stefan Hajnoczi
On Sat, Feb 08, 2014 at 05:50:02PM +0100, 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 > Reviewed-by: Max Reitz > --- > block/qcow2-cluster.c | 22

[Qemu-devel] [PATCH v2] 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 Reviewed-by: Max Reitz --- block/qcow2-cluster.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff