summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2020-09-03 09:01:40 -0400
committerIlya Dryomov <idryomov@gmail.com>2020-10-12 15:29:26 +0200
commit1dd8d470813699baab9112e95fce00979b21c4f7 (patch)
treefac3dd9bc808ffbe8ddc9636b4486848e794f1ab /tools
parent2678da88f4b449300d56e0e7a9e77d1a79c83463 (diff)
downloadlinux-1dd8d470813699baab9112e95fce00979b21c4f7.tar.bz2
ceph: metrics for opened files, pinned caps and opened inodes
In client for each inode, it may have many opened files and may have been pinned in more than one MDS servers. And some inodes are idle, which have no any opened files. This patch will show these metrics in the debugfs, likes: item total ----------------------------------------- opened files / total inodes 14 / 5 pinned i_caps / total inodes 7 / 5 opened inodes / total inodes 3 / 5 Will send these metrics to ceph, which will be used by the `fs top`, later. [ jlayton: drop unrelated hunk, count hashed inodes instead of allocated ones ] URL: https://tracker.ceph.com/issues/47005 Signed-off-by: Xiubo Li <xiubli@redhat.com> Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions