Lines Matching defs:ceph_mds_session
157 struct ceph_mds_session { struct
158 struct ceph_mds_client *s_mdsc;
159 int s_mds;
160 int s_state;
161 unsigned long s_ttl; /* time until mds kills us */
162 unsigned long s_features;
163 u64 s_seq; /* incoming msg seq # */
164 struct mutex s_mutex; /* serialize session messages */
166 struct ceph_connection s_con;
168 struct ceph_auth_handshake s_auth;
171 spinlock_t s_gen_ttl_lock;
172 u32 s_cap_gen; /* inc each time we get mds stale msg */
173 unsigned long s_cap_ttl; /* when session caps expire */
176 spinlock_t s_cap_lock;
177 struct list_head s_caps; /* all caps issued by this session */
178 struct ceph_cap *s_cap_iterator;
179 int s_nr_caps;
180 int s_num_cap_releases;
181 int s_cap_reconnect;
182 int s_readonly;
183 struct list_head s_cap_releases; /* waiting cap_release messages */
184 struct work_struct s_cap_release_work;
187 struct list_head s_cap_flushing; /* inodes w/ flushing caps */
188 unsigned long s_renew_requested; /* last time we sent a renew req */
189 u64 s_renew_seq;
191 refcount_t s_ref;
192 struct list_head s_waiting; /* waiting requests */
193 struct list_head s_unsafe; /* unsafe requests */