From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTy6c-0002OD-GA for qemu-devel@nongnu.org; Mon, 24 Aug 2015 16:12:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTy6b-0005Wp-38 for qemu-devel@nongnu.org; Mon, 24 Aug 2015 16:12:34 -0400 References: From: Max Reitz Message-ID: <55DB7AA7.80408@redhat.com> Date: Mon, 24 Aug 2015 22:12:23 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="F6u4rF7b5qnTVeTQpmC0M8knP25BmkfPI" Subject: Re: [Qemu-devel] [PATCH v7 0/4] Clean unused entries in the qcow2 L2/refcount cache List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alberto Garcia , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Stefan Hajnoczi This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --F6u4rF7b5qnTVeTQpmC0M8knP25BmkfPI Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable On 04.08.2015 14:14, Alberto Garcia wrote: > v7: > - Rebase against the current master. > - Update version number in the 'since' field of the > 'cache-clean-interval' option. >=20 > v6: https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg01929.html= > - Update documentation to clarify what "unused entries" mean. >=20 > v5: https://lists.gnu.org/archive/html/qemu-devel/2015-06/msg00573.html= > - Fix build in mingw. > - Use getpagesize() instead of sysconf(_SC_PAGESIZE). > - Clarify that 0 is the default value for 'cache-clean-interval', and t= hat > it disables the feature. > - Add the patch that documents how to configure the cache to this > series, expanded with the explanation of 'cache-clean-interval'. > (previous version:=20 > https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg02253.html) >=20 > v4: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg06120.html= > - Revert the 'cache-clean-interval' change. This should probably go > into a new BlockDeviceInfoSpecific struct (along with other > settings), but is out of the scope for this series. >=20 > v3: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg05473.html= > - Add 'cache-clean-interval' field to ImageInfoSpecificQCow2. >=20 > v2: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg05316.html= > - Clarify that the block-commit mentioned in the first patch refers to > the HMP commit command. > - Check the value of cache_clean_interval and cast it accordingly to > prevent it from overflowing. >=20 > v1: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg03510.html= >=20 > Alberto Garcia (4): > qcow2: mark the memory as no longer needed after qcow2_cache_empty() > qcow2: add option to clean unused cache entries after some time > docs: document how to configure the qcow2 L2/refcount caches > qcow2: reorder fields in Qcow2CachedTable to reduce padding >=20 > block/qcow2-cache.c | 63 +++++++++++++++++++- > block/qcow2.c | 64 ++++++++++++++++++++ > block/qcow2.h | 4 ++ > docs/qcow2-cache.txt | 164 +++++++++++++++++++++++++++++++++++++++++++= ++++++++ > qapi/block-core.json | 7 ++- > 5 files changed, 300 insertions(+), 2 deletions(-) > create mode 100644 docs/qcow2-cache.txt Thanks, applied to my block tree: https://github.com/XanClic/qemu/commits/block Max --F6u4rF7b5qnTVeTQpmC0M8knP25BmkfPI Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJV23qnAAoJEDuxQgLoOKytuFkH/is2GKzT/gZFBaiZxtgp+fSk 4w0jQkS1qx72qxNBU4WX0/l/lhcaQGla7t83vL4clGfV4hDyUMG/yIoNAWtnoqBZ /z9qfgtEgtY63MYIO6e2vE2/cCgLOyW0rZEsSERBoE4hPmE30MRtX7tIynGemuc+ S9bSp3AIWVKYejrdlF2cplEa9WT4MPKdZrNqaLsAG3VI/twi3mGzSNU0sr/LXJ+n /bJlf1z3KbCSePQ9S7hKpJQXGkNOYTZg243atNXjpWn19H/LDevtUl5HZikQjY6f UG35LhcxkstrEzW5X4PnFBL7fFfiJU0WbAsNQsDpYeJTh4n9/i2uPpxammMbbGw= =OTFW -----END PGP SIGNATURE----- --F6u4rF7b5qnTVeTQpmC0M8knP25BmkfPI--