Re: [Qemu-block] [PATCH v2] qcow2: Release dirty entries with cache-clean-interval

2018-09-11 Thread Alberto Garcia
On Mon 10 Sep 2018 09:22:01 PM CEST, John Snow wrote: > On 08/09/2018 09:44 AM, Alberto Garcia wrote: >> The cache-clean-interval option is used to periodically release unused >> entries from the L2 and refcount caches. Dirty cache entries are left >> untouched, even if they are otherwise valid

Re: [Qemu-block] [PATCH v2] qcow2: Release dirty entries with cache-clean-interval

2018-09-10 Thread John Snow
On 08/09/2018 09:44 AM, Alberto Garcia wrote: > The cache-clean-interval option is used to periodically release unused > entries from the L2 and refcount caches. Dirty cache entries are left > untouched, even if they are otherwise valid candidates for removal. > > This patch allows releasing

[Qemu-block] [PATCH v2] qcow2: Release dirty entries with cache-clean-interval

2018-08-09 Thread Alberto Garcia
The cache-clean-interval option is used to periodically release unused entries from the L2 and refcount caches. Dirty cache entries are left untouched, even if they are otherwise valid candidates for removal. This patch allows releasing those entries by flushing them to disk first. This is a