]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: raise health warning if client lacks feature for root_squash
authorPatrick Donnelly <pdonnell@redhat.com>
Fri, 3 May 2024 00:50:37 +0000 (20:50 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 14 May 2024 15:50:05 +0000 (17:50 +0200)
commit2919c4cfdee18c7dacc37fb479558882bd1d99f2
treeab473b58ce147313a155c010fcef225b10f1e33a
parente7422fe741de594d2134feb04f35fb21977d7b79
mds: raise health warning if client lacks feature for root_squash

Rather than evict all clients lacking this feature bit, raise a health error
that pushes the administrator to address it. This avoids the surprise of having
all affected clients suddenly evicted in the cluster.

Fixes: https://tracker.ceph.com/issues/65733
Fixes: 954ed30
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 66ff5c9fc8d4664f18b2fa462e96e5548c35951f)

Conflicts:
src/messages/MMDSBeacon.h: missing health beacon type
(cherry picked from commit 480b2cb199e6c933930ece59a3eca9c4cdf29c50)
src/mds/Beacon.cc
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h
src/messages/MMDSBeacon.h