qcow2: Options to enable discard for freed clusters
commit67af674e478054086f972811dd0a11289afa39a9
authorKevin Wolf <kwolf@redhat.com>
Wed, 19 Jun 2013 11:44:19 +0000 (19 13:44 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 24 Jun 2013 08:25:17 +0000 (24 10:25 +0200)
tree9d1fbd115bc79b44f4ae73345158d623976e06ee
parent6cfcb9b8b91d303ab51b78623f2299b5288d2d51
qcow2: Options to enable discard for freed clusters

Deleted snapshots are discarded in the image file by default, discard
requests take their default from the -drive discard=... option and other
places that free clusters must always be enabled explicitly.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/qcow2-refcount.c
block/qcow2.c
block/qcow2.h