Solved!

> Am 14.08.2017 um 22:34 schrieb Waschbüsch IT-Services GmbH 
> <serv...@waschbuesch.it>:
> 
> Be that as it may, the problem I have which lead me to have a look at it is: 
> in the UI *all* my osds show a latency of 0.
> Using the shell, they don't.

I was on the right track after all - it seems the output *has* changed after 
all, but only a wee bit:

--- Ceph.pm.orig        2017-08-14 21:06:56.686005469 +0000
+++ Ceph.pm     2017-08-14 21:07:02.933759228 +0000
@@ -122,7 +122,7 @@
                $new->{total_space} = ($stat->{kb} || 1) * 1024;
                $new->{bytes_used} = ($stat->{kb_used} || 0) * 1024;
                $new->{percent_used} = 
($new->{bytes_used}*100)/$new->{total_space};
-               if (my $d = $stat->{fs_perf_stat}) {
+               if (my $d = $stat->{perf_stat}) {
                    $new->{commit_latency_ms} = $d->{commit_latency_ms};
                    $new->{apply_latency_ms} = $d->{apply_latency_ms};
                }


This change re-enables the latencies being displayed, at least for me. ;-)

Martin

Attachment: signature.asc
Description: Message signed with OpenPGP

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

Reply via email to