Lines Matching defs:ceph_mds_client
412 struct ceph_mds_client { struct
413 struct ceph_fs_client *fsc;
414 struct mutex mutex; /* all nested structures */
416 struct ceph_mdsmap *mdsmap;
417 struct completion safe_umount_waiters;
418 wait_queue_head_t session_close_wq;
419 struct list_head waiting_for_map;
420 int mdsmap_err;
422 struct ceph_mds_session **sessions; /* NULL for mds if no session */
423 atomic_t num_sessions;
424 int max_sessions; /* len of sessions array */
426 spinlock_t stopping_lock; /* protect snap_empty */
427 int stopping; /* the stage of shutting down */
428 atomic_t stopping_blockers;
429 struct completion stopping_waiter;
431 atomic64_t quotarealms_count; /* # realms with quota */
436 struct rb_root quotarealms_inodes;
437 struct mutex quotarealms_inodes_mutex;
446 u64 last_snap_seq;
447 struct rw_semaphore snap_rwsem;
448 struct rb_root snap_realms;
449 struct list_head snap_empty;
450 int num_snap_realms;
451 spinlock_t snap_empty_lock; /* protect snap_empty */
453 u64 last_tid; /* most recent mds request */
454 u64 oldest_tid; /* oldest incomplete mds request,
456 struct rb_root request_tree; /* pending mds requests */
457 struct delayed_work delayed_work; /* delayed work */
458 unsigned long last_renew_caps; /* last time we renewed our caps */
459 struct list_head cap_delay_list; /* caps with delayed release */
460 spinlock_t cap_delay_lock; /* protects cap_delay_list */
461 struct list_head snap_flush_list; /* cap_snaps ready to flush */
462 spinlock_t snap_flush_lock;
464 u64 last_cap_flush_tid;
465 struct list_head cap_flush_list;
466 struct list_head cap_dirty_migrating; /* ...that are migration... */
467 int num_cap_flushing; /* # caps we are flushing */
468 spinlock_t cap_dirty_lock; /* protects above items */
469 wait_queue_head_t cap_flushing_wq;
471 struct work_struct cap_reclaim_work;
472 atomic_t cap_reclaim_pending;
485 spinlock_t caps_list_lock;
486 struct list_head caps_list; /* unused (reserved or
488 struct list_head cap_wait_list;
489 int caps_total_count; /* total caps allocated */
490 int caps_use_count; /* in use */
491 int caps_use_max; /* max used caps */
492 int caps_reserve_count; /* unused, reserved */
493 int caps_avail_count; /* unused, unreserved */
494 int caps_min_count; /* keep at least this many
518 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument