summaryrefslogtreecommitdiffstats
path: root/src/mds/SessionMap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/SessionMap.h')
-rw-r--r--src/mds/SessionMap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mds/SessionMap.h b/src/mds/SessionMap.h
index 9e82f00a9bf..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