linux/fs/ceph
Xiubo Li cbcb358b74 ceph: skip reconnecting if MDS is not ready
When MDS closed the session the kclient will send to reconnect to
it immediately, but if the MDS just restarted and still not ready
yet, such as still in the up:replay state and the sessionmap journal
logs hasn't be replayed, the MDS will close the session.

And then the kclient could remove the session and later when the
mdsmap is in RECONNECT phrase it will skip reconnecting. But the MDS
will wait until timeout and then evict the kclient.

Just skip sending the reconnection request until the MDS is ready.

Link: https://tracker.ceph.com/issues/62489
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2024-01-15 15:40:50 +01:00
..
acl.c ceph: allow idmapped set_acl inode op 2023-11-03 23:28:34 +01:00
addr.c Two items: 2023-11-10 09:52:56 -08:00
cache.c ceph: rename _to_client() to _to_fs_client() 2023-11-03 23:28:33 +01:00
cache.h netfs: Further cleanups after struct netfs_inode wrapper introduced 2022-06-10 20:55:21 +01:00
caps.c Two items: 2023-11-10 09:52:56 -08:00
ceph_frag.c
crypto.c Two items: 2023-11-10 09:52:56 -08:00
crypto.h ceph: add support for encrypted snapshot names 2023-08-24 11:24:36 +02:00
debugfs.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
dir.c ceph: pass an idmapping to mknod/symlink/mkdir 2023-11-03 23:28:34 +01:00
export.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
file.c Two items: 2023-11-10 09:52:56 -08:00
inode.c Two items: 2023-11-10 09:52:56 -08:00
io.c ceph: fix kerneldoc copypasta over ceph_start_io_direct 2021-04-27 23:52:23 +02:00
io.h
ioctl.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
ioctl.h
Kconfig ceph: conversion to new fscache API 2022-01-11 22:13:01 +00:00
locks.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
Makefile ceph: fscrypt_auth handling for ceph 2023-08-22 09:01:48 +02:00
mds_client.c ceph: skip reconnecting if MDS is not ready 2024-01-15 15:40:50 +01:00
mds_client.h ceph: add enable_unsafe_idmap module parameter 2023-11-03 23:28:33 +01:00
mdsmap.c libceph, ceph: move mdsmap.h to fs/ceph 2023-11-03 23:28:33 +01:00
mdsmap.h libceph, ceph: move mdsmap.h to fs/ceph 2023-11-03 23:28:33 +01:00
metric.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
metric.h ceph: include average/stdev r/w/m latency in mds metrics 2022-03-21 13:35:16 +01:00
quota.c ceph: print cluster fsid and client global_id in all debug logs 2023-11-03 23:28:33 +01:00
snap.c Two items: 2023-11-10 09:52:56 -08:00
strings.c ceph: add getvxattr op 2022-03-01 18:26:37 +01:00
super.c ceph: allow idmapped mounts 2023-11-03 23:28:34 +01:00
super.h Two items: 2023-11-10 09:52:56 -08:00
util.c
xattr.c Two items: 2023-11-10 09:52:56 -08:00