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).
Leonid Bloch (4): qcow2: Introduce an option for sufficient L2 cache for the entire image docs: Fix an inaccuracy due to recent changes docs: Document the l2-cache-full option 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 | 4 ++++ qemu-options.hx | 4 ++++ 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, 63 insertions(+), 17 deletions(-) -- 2.14.1