Lines Matching defs:ceph_mds_client

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