diff options
author | Kevin Wolf <kwolf@redhat.com> | 2014-02-08 14:38:33 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-02-21 21:02:21 +0100 |
commit | a71835a0ccff168b19ffc9656fe27988821ec59a (patch) | |
tree | 9d328538c78f9be36db90eb4dff9c8d4b3de2e77 /blockdev.c | |
parent | 3e890c77cf038d8c2de66ed7996fe77a6f94787c (diff) |
qcow2: Set zero flag for discarded clusters
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 <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions