Lines Matching defs:ceph_mds_session
106 struct ceph_mds_session { struct
107 struct ceph_mds_client *s_mdsc;
108 int s_mds;
109 int s_state;
110 unsigned long s_ttl; /* time until mds kills us */
111 u64 s_seq; /* incoming msg seq # */
112 struct mutex s_mutex; /* serialize session messages */
114 struct ceph_connection s_con;
116 struct ceph_authorizer *s_authorizer;
117 void *s_authorizer_buf, *s_authorizer_reply_buf;
118 size_t s_authorizer_buf_len, s_authorizer_reply_buf_len;
121 spinlock_t s_gen_ttl_lock;
122 u32 s_cap_gen; /* inc each time we get mds stale msg */
123 unsigned long s_cap_ttl; /* when session caps expire */
126 spinlock_t s_cap_lock;
127 struct list_head s_caps; /* all caps issued by this session */
128 int s_nr_caps, s_trim_caps;
129 int s_num_cap_releases;
130 struct list_head s_cap_releases; /* waiting cap_release messages */
131 struct list_head s_cap_releases_done; /* ready to send */
132 struct ceph_cap *s_cap_iterator;
135 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
136 struct list_head s_cap_snaps_flushing;
137 unsigned long s_renew_requested; /* last time we sent a renew req */
138 u64 s_renew_seq;
140 atomic_t s_ref;
141 struct list_head s_waiting; /* waiting requests */
142 struct list_head s_unsafe; /* unsafe requests */