[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/7] block/qcow2: Document cache_clean_interval field holds secon
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 2/7] block/qcow2: Document cache_clean_interval field holds seconds |
Date: |
Tue, 16 Jun 2020 09:51:16 +0200 |
It is not obvious the 'cache_clean_interval' field holds
a value expressing seconds. Add a brief comment.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
block/qcow2.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/block/qcow2.h b/block/qcow2.h
index 7ce2c23bdb..fa5c2e64a1 100644
--- a/block/qcow2.h
+++ b/block/qcow2.h
@@ -310,6 +310,7 @@ typedef struct BDRVQcow2State {
Qcow2Cache* l2_table_cache;
Qcow2Cache* refcount_block_cache;
QEMUTimer *cache_clean_timer;
+ /* Interval for cache cleanup timer (in seconds) */
unsigned cache_clean_interval;
QLIST_HEAD(, QCowL2Meta) cluster_allocs;
--
2.21.3
- [PATCH 0/7] misc: Reduce QEMUTimer pressure by using lower precision when possible, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 1/7] qemu-common: Briefly document qemu_timedate_diff() unit, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 2/7] block/qcow2: Document cache_clean_interval field holds seconds,
Philippe Mathieu-Daudé <=
- [PATCH 3/7] block/curl: Reduce timer precision to milli-second, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 4/7] hw/virtio/virtio-balloon: Rename timer field including 'ms' unit, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 5/7] hw/rtc/m48t59: Reduce timer precision to milli-second, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 6/7] hw/ipmi/ipmi_bmc_extern: Reduce timer precision to milli-second, Philippe Mathieu-Daudé, 2020/06/16
- [PATCH 7/7] hw/watchdog/wdt_aspeed: Reduce timer precision to micro-second, Philippe Mathieu-Daudé, 2020/06/16