Lines Matching defs:dlm_ls
520 struct dlm_ls { struct
521 struct list_head ls_list; /* list of lockspaces */
522 dlm_lockspace_t *ls_local_handle;
523 uint32_t ls_global_id; /* global unique lockspace ID */
524 uint32_t ls_generation;
525 uint32_t ls_exflags;
526 int ls_lvblen;
527 int ls_count; /* refcount of processes in
529 int ls_create_count; /* create/release refcount */
530 unsigned long ls_flags; /* LSFL_ */
531 unsigned long ls_scan_time;
532 struct kobject ls_kobj;
534 struct idr ls_lkbidr;
535 spinlock_t ls_lkbidr_spin;
537 struct dlm_rsbtable *ls_rsbtbl;
538 uint32_t ls_rsbtbl_size;
540 struct mutex ls_waiters_mutex;
541 struct list_head ls_waiters; /* lkbs needing a reply */
543 struct mutex ls_orphans_mutex;
544 struct list_head ls_orphans;
546 struct mutex ls_timeout_mutex;
547 struct list_head ls_timeout;
549 spinlock_t ls_new_rsb_spin;
550 int ls_new_rsb_count;
551 struct list_head ls_new_rsb; /* new rsb structs */
553 spinlock_t ls_remove_spin;
554 char ls_remove_name[DLM_RESNAME_MAXLEN+1];
555 char *ls_remove_names[DLM_REMOVE_NAMES_MAX];
556 int ls_remove_len;
557 int ls_remove_lens[DLM_REMOVE_NAMES_MAX];
559 struct list_head ls_nodes; /* current nodes in ls */
560 struct list_head ls_nodes_gone; /* dead node list, recovery */
561 int ls_num_nodes; /* number of nodes in ls */
562 int ls_low_nodeid;
563 int ls_total_weight;
564 int *ls_node_array;
566 int ls_slot;
567 int ls_num_slots;
568 int ls_slots_size;
569 struct dlm_slot *ls_slots;
571 struct dlm_rsb ls_stub_rsb; /* for returning errors */
572 struct dlm_lkb ls_stub_lkb; /* for returning errors */
573 struct dlm_message ls_stub_ms; /* for faking a reply */
575 struct dentry *ls_debug_rsb_dentry; /* debugfs */
576 struct dentry *ls_debug_waiters_dentry; /* debugfs */
577 struct dentry *ls_debug_locks_dentry; /* debugfs */
578 struct dentry *ls_debug_all_dentry; /* debugfs */
579 struct dentry *ls_debug_toss_dentry; /* debugfs */
581 wait_queue_head_t ls_uevent_wait; /* user part of join/leave */
582 int ls_uevent_result;
583 struct completion ls_members_done;
584 int ls_members_result;
586 struct miscdevice ls_device;
588 struct workqueue_struct *ls_callback_wq;
592 struct mutex ls_cb_mutex;
593 struct list_head ls_cb_delay; /* save for queue_work later */
594 struct timer_list ls_timer;
595 struct task_struct *ls_recoverd_task;
596 struct mutex ls_recoverd_active;
597 spinlock_t ls_recover_lock;
598 unsigned long ls_recover_begin; /* jiffies timestamp */
599 uint32_t ls_recover_status; /* DLM_RS_ */
600 uint64_t ls_recover_seq;
601 struct dlm_recover *ls_recover_args;
602 struct rw_semaphore ls_in_recovery; /* block local requests */
603 struct rw_semaphore ls_recv_active; /* block dlm_recv */
604 struct list_head ls_requestqueue;/* queue remote requests */
605 struct mutex ls_requestqueue_mutex;
606 struct dlm_rcom *ls_recover_buf;
607 int ls_recover_nodeid; /* for debugging */
608 unsigned int ls_recover_dir_sent_res; /* for log info */
609 unsigned int ls_recover_dir_sent_msg; /* for log info */
633 * LSFL_RECOVER_STOP - dlm_ls_stop() sets this to tell dlm recovery routines argument