Re: [Qemu-block] [PATCH v2 2/4] qcow2: add qcow2_cache_discard

2017-06-22 Thread Pavel Butsykin
On 22.06.2017 01:29, Max Reitz wrote: On 2017-06-13 14:16, 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

Re: [Qemu-block] [PATCH v2 2/4] qcow2: add qcow2_cache_discard

2017-06-21 Thread Max Reitz
On 2017-06-13 14:16, 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 thecache with the data in

[Qemu-block] [PATCH v2 2/4] qcow2: add qcow2_cache_discard

2017-06-13 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 thecache with the data in the file. Signed-off-by: Pavel Butsykin