qcow2: discard bitmap when removed
commit444b82369b9f4f487538f2cb23647862c48aca1c
authorAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Thu, 28 Feb 2019 09:26:59 +0000 (28 12:26 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 7 May 2019 15:14:21 +0000 (7 17:14 +0200)
treeb63aac4afe9d1badfd6b4df7be8a1055cad84ea1
parent54b10010eb85e002c847339927f31aef33713afc
qcow2: discard bitmap when removed

Bitmap data may take a lot of disk space, so it's better to discard it
always.

Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-id: 1551346019-293202-1-git-send-email-andrey.shinkevich@virtuozzo.com
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
[mreitz: Use the commit message proposed by Vladimir]
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-bitmap.c