dlm_internal.h (c04fecb4d9f7753e0cbff7edd03ec68f8721cdce) dlm_internal.h (1d7c484eeb167fc374294e38ae402de4097c8611)
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 274 unchanged lines hidden (view full) ---

283 struct dlm_ls *res_ls; /* the lockspace */
284 struct kref res_ref;
285 struct mutex res_mutex;
286 unsigned long res_flags;
287 int res_length; /* length of rsb name */
288 int res_nodeid;
289 int res_master_nodeid;
290 int res_dir_nodeid;
1/******************************************************************************
2*******************************************************************************
3**
4** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
5** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
6**
7** This copyrighted material is made available to anyone wishing to use,
8** modify, copy, or redistribute it subject to the terms and conditions

--- 274 unchanged lines hidden (view full) ---

283 struct dlm_ls *res_ls; /* the lockspace */
284 struct kref res_ref;
285 struct mutex res_mutex;
286 unsigned long res_flags;
287 int res_length; /* length of rsb name */
288 int res_nodeid;
289 int res_master_nodeid;
290 int res_dir_nodeid;
291 int res_id; /* for ls_recover_idr */
291 uint32_t res_lvbseq;
292 uint32_t res_hash;
293 uint32_t res_bucket; /* rsbtbl */
294 unsigned long res_toss_time;
295 uint32_t res_first_lkid;
296 struct list_head res_lookup; /* lkbs waiting on first */
297 union {
298 struct list_head res_hashchain;

--- 283 unchanged lines hidden (view full) ---

582 unsigned int ls_recover_dir_sent_res; /* for log info */
583 unsigned int ls_recover_dir_sent_msg; /* for log info */
584 unsigned int ls_recover_locks_in; /* for log info */
585 uint64_t ls_rcom_seq;
586 spinlock_t ls_rcom_spin;
587 struct list_head ls_recover_list;
588 spinlock_t ls_recover_list_lock;
589 int ls_recover_list_count;
292 uint32_t res_lvbseq;
293 uint32_t res_hash;
294 uint32_t res_bucket; /* rsbtbl */
295 unsigned long res_toss_time;
296 uint32_t res_first_lkid;
297 struct list_head res_lookup; /* lkbs waiting on first */
298 union {
299 struct list_head res_hashchain;

--- 283 unchanged lines hidden (view full) ---

583 unsigned int ls_recover_dir_sent_res; /* for log info */
584 unsigned int ls_recover_dir_sent_msg; /* for log info */
585 unsigned int ls_recover_locks_in; /* for log info */
586 uint64_t ls_rcom_seq;
587 spinlock_t ls_rcom_spin;
588 struct list_head ls_recover_list;
589 spinlock_t ls_recover_list_lock;
590 int ls_recover_list_count;
591 struct idr ls_recover_idr;
592 spinlock_t ls_recover_idr_lock;
590 wait_queue_head_t ls_wait_general;
591 struct mutex ls_clear_proc_locks;
592
593 struct list_head ls_root_list; /* root resources */
594 struct rw_semaphore ls_root_sem; /* protect root_list */
595
596 const struct dlm_lockspace_ops *ls_ops;
597 void *ls_ops_arg;

--- 84 unchanged lines hidden ---
593 wait_queue_head_t ls_wait_general;
594 struct mutex ls_clear_proc_locks;
595
596 struct list_head ls_root_list; /* root resources */
597 struct rw_semaphore ls_root_sem; /* protect root_list */
598
599 const struct dlm_lockspace_ops *ls_ops;
600 void *ls_ops_arg;

--- 84 unchanged lines hidden ---