Re: [Qemu-devel] [PATCH v3 2/4] qcow2: add qcow2_cache_discard

2017-07-09 Thread Max Reitz
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

[Qemu-devel] [PATCH v3 2/4] qcow2: add qcow2_cache_discard

2017-07-07 Thread Pavel Butsykin
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 --- bloc