diff options
Diffstat (limited to 'src/mds/SessionMap.h')
-rw-r--r-- | src/mds/SessionMap.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mds/SessionMap.h b/src/mds/SessionMap.h index 623f20a0eb7..bfe7dcd4895 100644 --- a/src/mds/SessionMap.h +++ b/src/mds/SessionMap.h @@ -417,6 +417,10 @@ public: session_info_t info; ///< durable bits MDSAuthCaps auth_caps; + // True if the session is opened by the client. + // False if the session is forced to open, until it is opened again by the client. + bool client_opened = false; + xlist<Session*>::item item_session_list; std::list<ceph::ref_t<Message>> preopen_out_queue; ///< messages for client, queued before they connect @@ -574,7 +578,6 @@ public: } static void generate_test_instances(std::list<SessionMapStore*>& ls); - void reset_state() { session_map.clear(); |