[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 0/5] qcow2: Discard freed clusters |
Date: |
Tue, 18 Jun 2013 08:25:19 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
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 completes
> fast. Instead, tt affects the case that some protocol below support
> discard, so delete will be more clean but slower in that case. Is this
> true? Maybe add this in commit message?
Yes, it becomes a little bit slower, but not much in my tests.
Kevin
- Re: [Qemu-devel] [PATCH 3/5] qcow2: Options to enable discard for freed clusters, (continued)