All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 0/4] Clean unused entries in the qcow2 L2/refcount cache
@ 2015-06-02 12:22 Alberto Garcia
  2015-06-02 12:22 ` [Qemu-devel] [PATCH 1/4] qcow2: mark the memory as no longer needed after qcow2_cache_empty() Alberto Garcia
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Alberto Garcia @ 2015-06-02 12:22 UTC (permalink / raw)
  To: qemu-devel
  Cc: Kevin Wolf, Alberto Garcia, qemu-block, Max Reitz,
	Stefan Hajnoczi

v5:
- Fix build in mingw.
- Use getpagesize() instead of sysconf(_SC_PAGESIZE).
- Clarify that 0 is the default value for 'cache-clean-interval', and that
  it disables the feature.
- Add the patch that documents how to configure the cache to this
  series, expanded with the explanation of 'cache-clean-interval'.
  (previous version: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg02253.html)

v4: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg06120.html
- Revert the 'cache-clean-interval' change. This should probably go
  into a new BlockDeviceInfoSpecific struct (along with other
  settings), but is out of the scope for this series.

v3: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg05473.html
- Add 'cache-clean-interval' field to ImageInfoSpecificQCow2.

v2: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg05316.html
- Clarify that the block-commit mentioned in the first patch refers to
  the HMP commit command.
- Check the value of cache_clean_interval and cast it accordingly to
  prevent it from overflowing.

v1: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg03510.html

Regards,

Berto

Alberto Garcia (4):
  qcow2: mark the memory as no longer needed after qcow2_cache_empty()
  qcow2: add option to clean unused cache entries after some time
  docs: document how to configure the qcow2 L2/refcount caches
  qcow2: reorder fields in Qcow2CachedTable to reduce padding

 block/qcow2-cache.c  |  63 +++++++++++++++++++-
 block/qcow2.c        |  64 ++++++++++++++++++++
 block/qcow2.h        |   4 ++
 docs/qcow2-cache.txt | 163 +++++++++++++++++++++++++++++++++++++++++++++++++++
 qapi/block-core.json |   7 ++-
 5 files changed, 299 insertions(+), 2 deletions(-)
 create mode 100644 docs/qcow2-cache.txt

-- 
2.1.4

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-06-05 16:14 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-02 12:22 [Qemu-devel] [PATCH v5 0/4] Clean unused entries in the qcow2 L2/refcount cache Alberto Garcia
2015-06-02 12:22 ` [Qemu-devel] [PATCH 1/4] qcow2: mark the memory as no longer needed after qcow2_cache_empty() Alberto Garcia
2015-06-05 15:47   ` Max Reitz
2015-06-02 12:22 ` [Qemu-devel] [PATCH 2/4] qcow2: add option to clean unused cache entries after some time Alberto Garcia
2015-06-05 15:48   ` Max Reitz
2015-06-02 12:22 ` [Qemu-devel] [PATCH 3/4] docs: document how to configure the qcow2 L2/refcount caches Alberto Garcia
2015-06-05 15:52   ` Max Reitz
2015-06-05 15:56     ` Alberto Garcia
2015-06-05 16:00       ` Max Reitz
2015-06-05 16:05         ` Alberto Garcia
2015-06-05 16:13           ` Max Reitz
2015-06-02 12:22 ` [Qemu-devel] [PATCH 4/4] qcow2: reorder fields in Qcow2CachedTable to reduce padding Alberto Garcia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.