mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
mds: fix type of some stats
These guys were marked as counters, but they were updated with set(), not inc() -- so they should just be normal u64s. Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
9ec54a9e01
commit
33a9d7063a
@ -719,9 +719,9 @@ void MDS::create_logger()
|
||||
mds_plb.add_u64(l_mds_inodes_bottom, "inodes_bottom");
|
||||
mds_plb.add_u64(l_mds_inodes_pin_tail, "inodes_pin_tail");
|
||||
mds_plb.add_u64(l_mds_inodes_pinned, "inodes_pinned");
|
||||
mds_plb.add_u64_counter(l_mds_inodes_expired, "inodes_expired");
|
||||
mds_plb.add_u64_counter(l_mds_inodes_with_caps, "inodes_with_caps");
|
||||
mds_plb.add_u64_counter(l_mds_caps, "caps", "Capabilities", "caps");
|
||||
mds_plb.add_u64(l_mds_inodes_expired, "inodes_expired");
|
||||
mds_plb.add_u64(l_mds_inodes_with_caps, "inodes_with_caps");
|
||||
mds_plb.add_u64(l_mds_caps, "caps", "Capabilities", "caps");
|
||||
mds_plb.add_u64(l_mds_subtrees, "subtrees");
|
||||
|
||||
mds_plb.add_u64_counter(l_mds_traverse, "traverse");
|
||||
|
Loading…
Reference in New Issue
Block a user