Alberto Garcia 279621c046 qcow2: add option to clean unused cache entries after some time
This adds a new 'cache-clean-interval' option that cleans all qcow2
cache entries that haven't been used in a certain interval, given in
seconds.

This allows setting a large L2 cache size so it can handle scenarios
with lots of I/O and at the same time use little memory during periods
of inactivity.

This feature currently relies on MADV_DONTNEED to free that memory, so
it is not useful in systems that don't follow that behavior.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: a70d12da60433df9360ada648b3f34b8f6f354ce.1438690126.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
2015-09-04 21:00:32 +02:00
2015-07-08 13:11:01 +02:00
2015-09-03 14:33:03 +01:00
2015-09-04 17:37:50 +01:00
2015-09-02 14:56:39 +01:00
2015-09-02 14:56:39 +01:00
2015-09-01 13:16:26 -05:00
2015-07-27 22:44:47 +03:00
2015-08-14 23:40:32 +02:00
2015-08-14 23:40:32 +02:00
2015-09-04 13:26:26 +02:00
2015-09-04 13:26:26 +02:00
2015-07-07 09:22:40 +01:00
2015-09-04 13:26:26 +02:00
2015-09-01 13:16:26 -05:00
2015-09-01 13:16:26 -05:00
2015-07-24 13:57:45 +02:00
2015-07-24 13:57:45 +02:00
2015-08-19 16:29:53 +01:00
2015-08-11 23:15:55 +01:00
2015-06-23 17:46:20 +01:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%