diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-07-17 17:57:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-17 17:57:20 -0400 |
commit | 393d81aa026e19b6ede6f5f11955c97ee62e5df5 (patch) | |
tree | a1d9511e488e19d41089ff0a736f6ce52a81c6e5 /fs/ocfs2/ocfs2.h | |
parent | 93a0886e2368eafb9df5e2021fb185195cee88b2 (diff) | |
parent | 5b664cb235e97afbf34db9c4d77f08ebd725335e (diff) |
Merge branch 'linus' into xen-64bit
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r-- | fs/ocfs2/ocfs2.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h index 31692379c170..1cb814be8ef1 100644 --- a/fs/ocfs2/ocfs2.h +++ b/fs/ocfs2/ocfs2.h | |||
@@ -132,6 +132,18 @@ struct ocfs2_lock_res { | |||
132 | wait_queue_head_t l_event; | 132 | wait_queue_head_t l_event; |
133 | 133 | ||
134 | struct list_head l_debug_list; | 134 | struct list_head l_debug_list; |
135 | |||
136 | #ifdef CONFIG_OCFS2_FS_STATS | ||
137 | unsigned long long l_lock_num_prmode; /* PR acquires */ | ||
138 | unsigned long long l_lock_num_exmode; /* EX acquires */ | ||
139 | unsigned int l_lock_num_prmode_failed; /* Failed PR gets */ | ||
140 | unsigned int l_lock_num_exmode_failed; /* Failed EX gets */ | ||
141 | unsigned long long l_lock_total_prmode; /* Tot wait for PR */ | ||
142 | unsigned long long l_lock_total_exmode; /* Tot wait for EX */ | ||
143 | unsigned int l_lock_max_prmode; /* Max wait for PR */ | ||
144 | unsigned int l_lock_max_exmode; /* Max wait for EX */ | ||
145 | unsigned int l_lock_refresh; /* Disk refreshes */ | ||
146 | #endif | ||
135 | }; | 147 | }; |
136 | 148 | ||
137 | struct ocfs2_dlm_debug { | 149 | struct ocfs2_dlm_debug { |