qcow2: Set the default cache-clean-interval to 10 minutes
commite957b50b8daecfc39a1ac09855b0eacb6edfd328
authorLeonid Bloch <lbloch@janustech.com>
Wed, 26 Sep 2018 16:04:46 +0000 (26 19:04 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 1 Oct 2018 10:51:12 +0000 (1 12:51 +0200)
tree9afb2feb763c3fffa2d431d8aa3464b436c91b53
parent45b4949c7bcdcd998cb42f5c517e80a2657cfd33
qcow2: Set the default cache-clean-interval to 10 minutes

The default cache-clean-interval is set to 10 minutes, in order to lower
the overhead of the qcow2 caches (before the default was 0, i.e.
disabled).

* For non-Linux platforms the default is kept at 0, because
  cache-clean-interval is not supported there yet.

Signed-off-by: Leonid Bloch <lbloch@janustech.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c
block/qcow2.h
docs/qcow2-cache.txt
qapi/block-core.json
qemu-options.hx