Lines Matching defs:ceph_mds_session
169 struct ceph_mds_session { struct
170 struct ceph_mds_client *s_mdsc;
171 int s_mds;
172 int s_state;
173 unsigned long s_ttl; /* time until mds kills us */
174 unsigned long s_features;
175 u64 s_seq; /* incoming msg seq # */
176 struct mutex s_mutex; /* serialize session messages */
178 struct ceph_connection s_con;
180 struct ceph_auth_handshake s_auth;
183 spinlock_t s_gen_ttl_lock;
184 u32 s_cap_gen; /* inc each time we get mds stale msg */
185 unsigned long s_cap_ttl; /* when session caps expire */
188 spinlock_t s_cap_lock;
189 refcount_t s_ref;
190 struct list_head s_caps; /* all caps issued by this session */
191 struct ceph_cap *s_cap_iterator;
192 int s_nr_caps;
193 int s_num_cap_releases;
194 int s_cap_reconnect;
195 int s_readonly;
196 struct list_head s_cap_releases; /* waiting cap_release messages */
197 struct work_struct s_cap_release_work;
200 struct list_head s_cap_dirty; /* inodes w/ dirty caps */
203 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
205 unsigned long s_renew_requested; /* last time we sent a renew req */
206 u64 s_renew_seq;
208 struct list_head s_waiting; /* waiting requests */
209 struct list_head s_unsafe; /* unsafe requests */
210 struct xarray s_delegated_inos;