From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fi3Xa-0006vO-Si for qemu-devel@nongnu.org; Tue, 24 Jul 2018 16:04:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fi3XX-0007dw-Oe for qemu-devel@nongnu.org; Tue, 24 Jul 2018 16:04:14 -0400 From: Leonid Bloch Date: Tue, 24 Jul 2018 23:03:38 +0300 Message-Id: <20180724200343.13733-1-lbloch@janustech.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v3 0/5] Introduction of l2-cache-full option for qcow2 images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Kevin Wolf , Max Reitz , Eric Blake , Leonid Bloch This series introduces an option to calculate and allocate automatically enough qcow2 L2 cache to cover the entire image. Using cache that covers the entire image can benefit performance, while having only a small memory overhead (just 1 MB for every 8 GB of virtual image size with the default cluster size). ------------------------- Differences from v1: 1) Documentation fixes in qapi/block-core.json and qemu-options.hx 2) Removal of the patch which was made to fix the default sizes in docs/qcow2-cache.txt - it is not needed, as the default sizes imply also default cluster sizes. 3) Documentation fixes in docs/qcow2-cache.txt, mentioning mutual exclusivity of the options. 4) Squashing the iotests patch into the main feature addition patch ------------------------- Differences from v2: 1) A separate patch for the grammar fix for 3.0 2) A separate patch for existing documentation fixes for 3.0 3) Separated back the iotests patch, because the grammar fix is separate now Leonid Bloch (5): A grammar fix qcow2: Options' documentation fixes qcow2: Introduce an option for sufficient L2 cache for the entire image iotests: Add tests for the new l2-cache-full option docs: Document the l2-cache-full option block/qcow2.c | 37 +++++++++++++++++++++++++++++-------- block/qcow2.h | 1 + docs/qcow2-cache.txt | 18 ++++++++++++++---- qapi/block-core.json | 8 +++++++- qemu-options.hx | 19 +++++++++++++++---- tests/qemu-iotests/103 | 6 ++++++ tests/qemu-iotests/103.out | 4 +++- tests/qemu-iotests/137 | 2 ++ tests/qemu-iotests/137.out | 4 +++- 9 files changed, 80 insertions(+), 19 deletions(-) -- 2.14.1