]> git.apps.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)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 7 May 2024 12:19:28 +0000 (08:19 -0400)
commit66ff5c9fc8d4664f18b2fa462e96e5548c35951f
tree9368425371b072e0ae53fbb82222ca8ab9d694c0
parent6517b704e311fd24dbf5bfbdec2ddd23b17d4092
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>
src/mds/Beacon.cc
src/mds/Server.cc
src/mds/SessionMap.cc
src/mds/SessionMap.h
src/messages/MMDSBeacon.h