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