]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: Add new flag to MClientSession 43251/head
authorKotresh HR <khiremat@redhat.com>
Wed, 18 Aug 2021 11:53:43 +0000 (17:23 +0530)
committerKotresh HR <khiremat@redhat.com>
Wed, 22 Sep 2021 05:51:15 +0000 (11:21 +0530)
commit80e16e3bbd4991b5f698c299301dafe4216443dc
treea4ab2038cfbc3711242813504b3f94dd31c8e1a3
parent48e9ee5ed5ab9a0a2d196ddc1e8be5c9d703804a
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
(cherry picked from commit e5b6737db1f57dda8c6f1229286136e574633765)
src/mds/Server.cc
src/messages/MClientSession.h