On 2017-08-17 11:15, 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 <[email protected]> > Reviewed-by: Max Reitz <[email protected]> > --- > block/qcow2-cache.c | 26 ++++++++++++++++++++++++++ > block/qcow2-refcount.c | 20 ++++++++++++++++++-- > block/qcow2.h | 3 +++ > 3 files changed, 47 insertions(+), 2 deletions(-)
Reviewed-by: Max Reitz <[email protected]> (This patch has changed since I last reviewed it in v5.)
signature.asc
Description: OpenPGP digital signature
