]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-top: include additional metrics reported by `fs perf stats`.
authorVenky Shankar <vshankar@redhat.com>
Thu, 25 Mar 2021 09:40:28 +0000 (05:40 -0400)
committerVenky Shankar <vshankar@redhat.com>
Fri, 26 Mar 2021 06:27:26 +0000 (02:27 -0400)
commitcec0518f32de54ec4dc9700aeffc926df4be6fb8
treef29bfa8ced3a0daaf189bad4945c84b0f59a7d19
parent9e4fcc0707ce864314ea91830c3b4a9159211d34
cephfs-top: include additional metrics reported by `fs perf stats`.

Without this, `cephfs-top` hits an exception since the additional
metrics keys were not configured.

Also, include a validation suring selftest that checks if `ceph
fs perf stats` metrics match what cephfs-top is configured to
report.

Fixes: http://tracker.ceph.com/issues/49974
Signed-off-by: Venky Shankar <vshankar@redhat.com>
(cherry picked from commit 5a119dcc13354549071dddae96e9fb6f7df747e5)
src/tools/cephfs/top/cephfs-top