Lines Matching defs:ceph_mds_session
180 struct ceph_mds_session { struct
181 struct ceph_mds_client *s_mdsc;
182 int s_mds;
183 int s_state;
184 unsigned long s_ttl; /* time until mds kills us */
185 unsigned long s_features;
186 u64 s_seq; /* incoming msg seq # */
187 struct mutex s_mutex; /* serialize session messages */
189 struct ceph_connection s_con;
191 struct ceph_auth_handshake s_auth;
193 atomic_t s_cap_gen; /* inc each time we get mds stale msg */
194 unsigned long s_cap_ttl; /* when session caps expire. protected by s_mutex */
197 spinlock_t s_cap_lock;
198 refcount_t s_ref;
199 struct list_head s_caps; /* all caps issued by this session */
200 struct ceph_cap *s_cap_iterator;
201 int s_nr_caps;
202 int s_num_cap_releases;
203 int s_cap_reconnect;
204 int s_readonly;
205 struct list_head s_cap_releases; /* waiting cap_release messages */
206 struct work_struct s_cap_release_work;
209 struct list_head s_cap_dirty; /* inodes w/ dirty caps */
212 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
214 unsigned long s_renew_requested; /* last time we sent a renew req */
215 u64 s_renew_seq;
217 struct list_head s_waiting; /* waiting requests */
218 struct list_head s_unsafe; /* unsafe requests */
219 struct xarray s_delegated_inos;