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