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