linux-stable/fs/ceph
Xiubo Li f7c2f4f6ce ceph: only send metrics when the MDS rank is ready
When the MDS rank is in clientreplay state, the metrics requests
will be discarded directly. Also, when there are a lot of known
client requests to recover from, the metrics requests will slow
down the MDS rank from getting to the active state sooner.

With this patch, we will send the metrics requests only when the
MDS rank is in active state.

Link: https://tracker.ceph.com/issues/61524
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Milind Changire <mchangir@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2023-06-30 12:08:54 +02:00
..
acl.c fs: port acl to mnt_idmap 2023-01-19 09:24:28 +01:00
addr.c ceph: implement writeback livelock avoidance using page tagging 2023-04-30 12:37:28 +02:00
cache.c
cache.h
caps.c ceph: fix use-after-free bug for inodes when flushing capsnaps 2023-06-08 08:56:25 +02:00
ceph_frag.c
debugfs.c ceph: fix potential use-after-free bug when trimming caps 2023-04-30 12:37:28 +02:00
dir.c ceph: pass ino# instead of old_dentry if it's disconnected 2023-04-30 12:37:28 +02:00
export.c
file.c Two small fixes from Xiubo and myself, marked for stable. 2023-03-02 10:48:30 -08:00
inode.c fs.idmapped.v6.3 2023-02-20 11:53:11 -08:00
io.c
io.h
ioctl.c
ioctl.h
Kconfig
locks.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
Makefile
mds_client.c ceph: silence smatch warning in reconnect_caps_cb() 2023-05-18 11:15:28 +02:00
mds_client.h ceph: reorder fields in 'struct ceph_snapid_map' 2023-04-30 12:37:28 +02:00
mdsmap.c
metric.c ceph: only send metrics when the MDS rank is ready 2023-06-30 12:08:54 +02:00
metric.h
quota.c
snap.c ceph: fix use-after-free bug for inodes when flushing capsnaps 2023-06-08 08:56:25 +02:00
strings.c
super.c
super.h ceph: fix potential use-after-free bug when trimming caps 2023-04-30 12:37:28 +02:00
util.c
xattr.c A few filesystem improvements, with a rather nasty use-after-free fix 2023-05-04 14:48:02 -07:00