]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 May 2024 12:25:29 +0000 (08:25 -0400)
commit480b2cb199e6c933930ece59a3eca9c4cdf29c50
tree1ef1020ba15da23ca250fe0a6dd5ad10541b5749
parentc5e59168761928980869c612af21dd033808d76c
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
src/mds/Beacon.cc
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h
src/messages/MMDSBeacon.h