Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
altough the rados call have a default timeout of 5 seconds,
i am not sure if this is too much of a load

we could only run that call e.g. every 3rd pvestatd loop, to minimize
the load. combined with the merging of the data on the reader side,
i guess we would have enought data points for it to make sense

any thoughts on this?

 PVE/Service/pvestatd.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/PVE/Service/pvestatd.pm b/PVE/Service/pvestatd.pm
index bad1b73d..7690a34e 100755
--- a/PVE/Service/pvestatd.pm
+++ b/PVE/Service/pvestatd.pm
@@ -534,6 +534,7 @@ sub update_status {
     eval {
        return if !PVE::Ceph::Tools::check_ceph_inited(1); # "return" from eval
 
+       PVE::Ceph::Services::cache_perf_data();
        PVE::Ceph::Services::broadcast_ceph_services();
        update_ceph_version();
     };
-- 
2.20.1


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to