]> Git Repo - qemu.git/commit - block/qcow2.h
qcow2: Increase the default upper limit on the L2 cache size
authorLeonid Bloch <[email protected]>
Wed, 26 Sep 2018 16:04:44 +0000 (19:04 +0300)
committerKevin Wolf <[email protected]>
Mon, 1 Oct 2018 10:51:12 +0000 (12:51 +0200)
commit80668d0fb735f0839a46278a7d42116089b82816
tree5a445e1c51c49d5846829c2c5f8043a3741bd556
parentb749562d9822d14ef69c9eaa5f85903010b86c30
qcow2: Increase the default upper limit on the L2 cache size

The upper limit on the L2 cache size is increased from 1 MB to 32 MB
on Linux platforms, and to 8 MB on other platforms (this difference is
caused by the ability to set intervals for cache cleaning on Linux
platforms only).

This is done in order to allow default full coverage with the L2 cache
for images of up to 256 GB in size (was 8 GB). Note, that only the
needed amount to cover the full image is allocated. The value which is
changed here is just the upper limit on the L2 cache size, beyond which
it will not grow, even if the size of the image will require it to.

Signed-off-by: Leonid Bloch <[email protected]>
Reviewed-by: Alberto Garcia <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/qcow2.h
docs/qcow2-cache.txt
qemu-options.hx
This page took 0.022665 seconds and 4 git commands to generate.