Lines Matching defs:ceph_mds_client
277 struct ceph_mds_client { struct
278 struct ceph_fs_client *fsc;
279 struct mutex mutex; /* all nested structures */
281 struct ceph_mdsmap *mdsmap;
282 struct completion safe_umount_waiters;
283 wait_queue_head_t session_close_wq;
284 struct list_head waiting_for_map;
286 struct ceph_mds_session **sessions; /* NULL for mds if no session */
287 atomic_t num_sessions;
288 int max_sessions; /* len of s_mds_sessions */
289 int stopping; /* true if shutting down */
298 u64 last_snap_seq;
299 struct rw_semaphore snap_rwsem;
300 struct rb_root snap_realms;
301 struct list_head snap_empty;
302 spinlock_t snap_empty_lock; /* protect snap_empty */
304 u64 last_tid; /* most recent mds request */
305 u64 oldest_tid; /* oldest incomplete mds request,
307 struct rb_root request_tree; /* pending mds requests */
308 struct delayed_work delayed_work; /* delayed work */
309 unsigned long last_renew_caps; /* last time we renewed our caps */
310 struct list_head cap_delay_list; /* caps with delayed release */
311 spinlock_t cap_delay_lock; /* protects cap_delay_list */
312 struct list_head snap_flush_list; /* cap_snaps ready to flush */
313 spinlock_t snap_flush_lock;
315 u64 last_cap_flush_tid;
316 struct rb_root cap_flush_tree;
317 struct list_head cap_dirty; /* inodes with dirty caps */
318 struct list_head cap_dirty_migrating; /* ...that are migration... */
319 int num_cap_flushing; /* # caps we are flushing */
320 spinlock_t cap_dirty_lock; /* protects above items */
321 wait_queue_head_t cap_flushing_wq;
354 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument