]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
mds: Add new flag to MClientSession
authorKotresh HR <khiremat@redhat.com>
Wed, 18 Aug 2021 11:53:43 +0000 (17:23 +0530)
committerKotresh HR <khiremat@redhat.com>
Thu, 26 Aug 2021 09:28:53 +0000 (14:58 +0530)
commite5b6737db1f57dda8c6f1229286136e574633765
treebca25250f59249d3cca35efd30ba9377ea24575a
parentc045701101e8e469618c6639486a3200a426c537
mds: Add new flag to MClientSession

The "error_string" in the metadata of MClientSession is being
parsed by kclient to validate whether the session is blocklisted.
The "error_string" is for humans and shouldn't be relied on it.
Hence added the flag to MClientsession to indicate the session
is blocklisted.

Signed-off-by: Kotresh HR <khiremat@redhat.com>
Fixes: https://tracker.ceph.com/issues/52382
src/mds/Server.cc
src/messages/MClientSession.h