Lines Matching defs:ceph_mds_client

442 struct ceph_mds_client {  struct
443 struct ceph_fs_client *fsc;
444 struct mutex mutex; /* all nested structures */
446 struct ceph_mdsmap *mdsmap;
447 struct completion safe_umount_waiters;
448 wait_queue_head_t session_close_wq;
449 struct list_head waiting_for_map;
450 int mdsmap_err;
452 struct ceph_mds_session **sessions; /* NULL for mds if no session */
453 atomic_t num_sessions;
454 int max_sessions; /* len of sessions array */
456 spinlock_t stopping_lock; /* protect snap_empty */
457 int stopping; /* the stage of shutting down */
458 atomic_t stopping_blockers;
459 struct completion stopping_waiter;
461 atomic64_t dirty_folios;
462 wait_queue_head_t flush_end_wq;
464 atomic64_t quotarealms_count; /* # realms with quota */
469 struct rb_root quotarealms_inodes;
470 struct mutex quotarealms_inodes_mutex;
479 u64 last_snap_seq;
480 struct rw_semaphore snap_rwsem;
481 struct rb_root snap_realms;
482 struct list_head snap_empty;
483 int num_snap_realms;
484 spinlock_t snap_empty_lock; /* protect snap_empty */
486 u64 last_tid; /* most recent mds request */
487 u64 oldest_tid; /* oldest incomplete mds request,
489 struct rb_root request_tree; /* pending mds requests */
490 struct delayed_work delayed_work; /* delayed work */
491 unsigned long last_renew_caps; /* last time we renewed our caps */
492 struct list_head cap_delay_list; /* caps with delayed release */
493 struct list_head cap_unlink_delay_list; /* caps with delayed release for unlink */
494 spinlock_t cap_delay_lock; /* protects cap_delay_list and cap_unlink_delay_list */
495 struct list_head snap_flush_list; /* cap_snaps ready to flush */
496 spinlock_t snap_flush_lock;
498 u64 last_cap_flush_tid;
499 struct list_head cap_flush_list;
500 struct list_head cap_dirty_migrating; /* ...that are migration... */
501 int num_cap_flushing; /* # caps we are flushing */
502 spinlock_t cap_dirty_lock; /* protects above items */
503 wait_queue_head_t cap_flushing_wq;
505 struct work_struct cap_reclaim_work;
506 atomic_t cap_reclaim_pending;
508 struct work_struct cap_unlink_work;
521 spinlock_t caps_list_lock;
522 struct list_head caps_list; /* unused (reserved or
525 struct list_head cap_wait_list;
527 int caps_total_count; /* total caps allocated */
528 int caps_use_count; /* in use */
529 int caps_use_max; /* max used caps */
530 int caps_reserve_count; /* unused, reserved */
531 int caps_avail_count; /* unused, unreserved */
532 int caps_min_count; /* keep at least this many
534 spinlock_t dentry_list_lock;
535 struct list_head dentry_leases; /* fifo list */
559 __ceph_lookup_mds_session(struct ceph_mds_client *, int mds); argument