Lines Matching defs:ceph_mds_client

416 struct ceph_mds_client {  struct
417 struct ceph_fs_client *fsc;
418 struct mutex mutex; /* all nested structures */
420 struct ceph_mdsmap *mdsmap;
421 struct completion safe_umount_waiters;
422 wait_queue_head_t session_close_wq;
423 struct list_head waiting_for_map;
424 int mdsmap_err;
426 struct ceph_mds_session **sessions; /* NULL for mds if no session */
427 atomic_t num_sessions;
428 int max_sessions; /* len of sessions array */
430 spinlock_t stopping_lock; /* protect snap_empty */
431 int stopping; /* the stage of shutting down */
432 atomic_t stopping_blockers;
433 struct completion stopping_waiter;
435 atomic64_t quotarealms_count; /* # realms with quota */
440 struct rb_root quotarealms_inodes;
441 struct mutex quotarealms_inodes_mutex;
450 u64 last_snap_seq;
451 struct rw_semaphore snap_rwsem;
452 struct rb_root snap_realms;
453 struct list_head snap_empty;
454 int num_snap_realms;
455 spinlock_t snap_empty_lock; /* protect snap_empty */
457 u64 last_tid; /* most recent mds request */
458 u64 oldest_tid; /* oldest incomplete mds request,
460 struct rb_root request_tree; /* pending mds requests */
461 struct delayed_work delayed_work; /* delayed work */
462 unsigned long last_renew_caps; /* last time we renewed our caps */
463 struct list_head cap_delay_list; /* caps with delayed release */
464 spinlock_t cap_delay_lock; /* protects cap_delay_list */
465 struct list_head cap_unlink_delay_list; /* caps with delayed release for unlink */
466 spinlock_t cap_unlink_delay_lock; /* protects cap_unlink_delay_list */
467 struct list_head snap_flush_list; /* cap_snaps ready to flush */
468 spinlock_t snap_flush_lock;
470 u64 last_cap_flush_tid;
471 struct list_head cap_flush_list;
472 struct list_head cap_dirty_migrating; /* ...that are migration... */
473 int num_cap_flushing; /* # caps we are flushing */
474 spinlock_t cap_dirty_lock; /* protects above items */
475 wait_queue_head_t cap_flushing_wq;
477 struct work_struct cap_reclaim_work;
478 atomic_t cap_reclaim_pending;
480 struct work_struct cap_unlink_work;
493 spinlock_t caps_list_lock;
494 struct list_head caps_list; /* unused (reserved or
496 struct list_head cap_wait_list;
497 int caps_total_count; /* total caps allocated */
498 int caps_use_count; /* in use */
499 int caps_use_max; /* max used caps */
500 int caps_reserve_count; /* unused, reserved */
501 int caps_avail_count; /* unused, unreserved */
502 int caps_min_count; /* keep at least this many
526 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument