]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
ceph: add caps perf metric for each superblock
authorXiubo Li <xiubli@redhat.com>
Fri, 20 Mar 2020 03:45:00 +0000 (23:45 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 1 Jun 2020 11:22:51 +0000 (13:22 +0200)
commit1af16d547f3080d71060092d22e79a34527d1d08
tree9ca39fde992e9f04a70c9ed25dd6cbbac9e7debd
parentf9009efac49c830460f55b9f6c08ee0d76f31b0d
ceph: add caps perf metric for each superblock

Count hits and misses in the caps cache. If the client has all of
the necessary caps when a task needs references, then it's counted
as a hit. Any other situation is a miss.

URL: https://tracker.ceph.com/issues/43215
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/acl.c
fs/ceph/caps.c
fs/ceph/debugfs.c
fs/ceph/dir.c
fs/ceph/inode.c
fs/ceph/metric.c
fs/ceph/metric.h
fs/ceph/super.h
fs/ceph/xattr.c