[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 2/4] qcow2: add qcow2_cache_discard
From: |
Max Reitz |
Subject: |
Re: [Qemu-devel] [PATCH v3 2/4] qcow2: add qcow2_cache_discard |
Date: |
Sun, 9 Jul 2017 23:34:02 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 2017-07-07 16:30, Pavel Butsykin wrote:
> Whenever l2/refcount table clusters are discarded from the file we can
> automatically drop unnecessary content of the cache tables. This reduces
> the chance of eviction useful cache data and eliminates inconsistent data
> in the cache with the data in the file.
>
> Signed-off-by: Pavel Butsykin <address@hidden>
> ---
> block/qcow2-cache.c | 26 ++++++++++++++++++++++++++
> block/qcow2-refcount.c | 14 ++++++++++++++
> block/qcow2.h | 3 +++
> 3 files changed, 43 insertions(+)
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature