|
From: | Max Reitz |
Subject: | Re: [Qemu-devel] [PATCH] qcow2: Set zero flag for discarded clusters |
Date: | Sat, 08 Feb 2014 17:11:41 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
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 <address@hidden> --- block/qcow2-cluster.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |