ceph: send opened files/pinned caps/opened inodes metrics to MDS daemon
authorXiubo Li <xiubli@redhat.com>
Wed, 24 Mar 2021 05:08:25 +0000 (13:08 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 27 Apr 2021 21:52:23 +0000 (23:52 +0200)
commit3d8b6987a276f4292b5b71f4df8fe34129ab9e5d
tree0c54d0f47aff8e9546db8efb17fe07f5a6a27e7e
parentfbd47ddc5e887571ee39f0d6b47c6155f2257f55
ceph: send opened files/pinned caps/opened inodes metrics to MDS daemon

For the old ceph version, if it received this metric info, it will just
ignore them.

URL: https://tracker.ceph.com/issues/46866
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/metric.c
fs/ceph/metric.h