Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters

2013-06-18 Thread Kevin Wolf
Am 18.06.2013 um 05:03 hat Wenchao Xia geschrieben: Hi, Kevin In normal case, qcow2 is based on raw-posix file which don't support discard operation It does, see raw_aio_discard(). , so this serial doesn't change much in this case, still real space is not freed in snapshot delete, and it

Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters

2013-06-17 Thread Wenchao Xia
Hi, Kevin In normal case, qcow2 is based on raw-posix file which don't support discard operation, so this serial doesn't change much in this case, still real space is not freed in snapshot delete, and it completes fast. Instead, tt affects the case that some protocol below support discard, so

[Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters

2013-06-13 Thread Kevin Wolf
This series adds options to make qcow2 discard freed clusters, in several categories. By default, only freed clusters related to snapshots (i.e. mainly snapshot deletion) are discarded. Kevin Wolf (5): Revert block: Disable driver-specific options for 1.5 qcow2: Add refcount update reason to