Skip to content

Introduction of l2-cache-full option for qcow2 images

Leonid Bloch qemu-devel 5 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest4 patches 8 repliesApplied
  2. v44 patches 3 repliesSuperseded
  3. v35 patches 20 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v22 patches1 replySuperseded
v14 patches10 repliesSuperseded

Patches in v5 Applied

#Subject and filesSizeRepliesApplied
1/4qcow2: A grammar fix in conflicting cache sizing error messageblock/qcow2.c tests/qemu-iotests/103.out tests/qemu-iotests/137.out+4 -42 replies
2/4qcow2: Options' documentation fixesdocs/qcow2-cache.txt qemu-options.hx+9 -46 replies
3/4qcow2: Introduce an option for sufficient L2 cache for the entire imageblock/qcow2.c block/qcow2.h docs/qcow2-cache.txt +2 more+52 -130 replies
4/4iotests: Add tests for the new l2-cache-full optiontests/qemu-iotests/103 tests/qemu-iotests/103.out tests/qemu-iotests/137 +1 more+12 -00 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchJohn Snow
1/4R-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [Qemu-devel] [PATCH v5 0/4] Introduction of l2-cache-full option for qcow2 images

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

-------------------------
Differences from v3:

1) Grammar change commit message fix
2) Rewording the documentation more concisely
3) Squashing the l2-cache-full docs commit to the one that introduces this feature

-------------------------
Differences from v4:

1) l2-cache-full is now a proper boolean option.
2) tests/qemu-iotests/103.out fixed: the grammar fix is now applied to the second relevant occurrence.
3) Error messages fixed in iotests for the l2-cache-full tests.

Leonid Bloch (4):
qcow2: A grammar fix in conflicting cache sizing error message
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

 block/qcow2.c              | 37 +++++++++++++++++++++++++++++--------
 block/qcow2.h              |  1 +
 docs/qcow2-cache.txt       | 18 ++++++++++++++----
 qapi/block-core.json       |  8 +++++++-
 qemu-options.hx            | 14 ++++++++++----
 tests/qemu-iotests/103     |  6 ++++++
 tests/qemu-iotests/103.out |  6 ++++--
 tests/qemu-iotests/137     |  2 ++
 tests/qemu-iotests/137.out |  4 +++-
 9 files changed, 76 insertions(+), 20 deletions(-)
Signature · 1 line
2.14.1