Lines Matching defs:ceph_mds_client
384 struct ceph_mds_client { struct
385 struct ceph_fs_client *fsc;
386 struct mutex mutex; /* all nested structures */
388 struct ceph_mdsmap *mdsmap;
389 struct completion safe_umount_waiters;
390 wait_queue_head_t session_close_wq;
391 struct list_head waiting_for_map;
392 int mdsmap_err;
394 struct ceph_mds_session **sessions; /* NULL for mds if no session */
395 atomic_t num_sessions;
396 int max_sessions; /* len of sessions array */
397 int stopping; /* true if shutting down */
399 atomic64_t quotarealms_count; /* # realms with quota */
404 struct rb_root quotarealms_inodes;
405 struct mutex quotarealms_inodes_mutex;
414 u64 last_snap_seq;
415 struct rw_semaphore snap_rwsem;
416 struct rb_root snap_realms;
417 struct list_head snap_empty;
418 int num_snap_realms;
419 spinlock_t snap_empty_lock; /* protect snap_empty */
421 u64 last_tid; /* most recent mds request */
422 u64 oldest_tid; /* oldest incomplete mds request,
424 struct rb_root request_tree; /* pending mds requests */
425 struct delayed_work delayed_work; /* delayed work */
426 unsigned long last_renew_caps; /* last time we renewed our caps */
427 struct list_head cap_delay_list; /* caps with delayed release */
428 spinlock_t cap_delay_lock; /* protects cap_delay_list */
429 struct list_head snap_flush_list; /* cap_snaps ready to flush */
430 spinlock_t snap_flush_lock;
432 u64 last_cap_flush_tid;
433 struct list_head cap_flush_list;
434 struct list_head cap_dirty_migrating; /* ...that are migration... */
435 int num_cap_flushing; /* # caps we are flushing */
436 spinlock_t cap_dirty_lock; /* protects above items */
437 wait_queue_head_t cap_flushing_wq;
439 struct work_struct cap_reclaim_work;
440 atomic_t cap_reclaim_pending;
453 spinlock_t caps_list_lock;
454 struct list_head caps_list; /* unused (reserved or
456 struct list_head cap_wait_list;
457 int caps_total_count; /* total caps allocated */
458 int caps_use_count; /* in use */
459 int caps_use_max; /* max used caps */
460 int caps_reserve_count; /* unused, reserved */
461 int caps_avail_count; /* unused, unreserved */
462 int caps_min_count; /* keep at least this many
486 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument