aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorSrinivas Eeda <srinivas.eeda@oracle.com>2009-06-03 20:02:56 -0400
committerJoel Becker <joel.becker@oracle.com>2009-06-03 22:14:31 -0400
commit15633a220ffe74fc61bc8117e6a89a494011ea3d (patch)
tree18bf3b92b4ec3988f78c5e07b1471b8f89a2f474 /fs/ocfs2/ocfs2.h
parent83273932fbefb6ceef9c0b82ac4d23900728f4d9 (diff)
ocfs2 patch to track delayed orphan scan timer statistics
Patch to track delayed orphan scan timer statistics. Modifies ocfs2_osb_dump to print the following: Orphan Scan=> Local: 10 Global: 21 Last Scan: 67 seconds ago Signed-off-by: Srinivas Eeda <srinivas.eeda@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/ocfs2.h')
-rw-r--r--fs/ocfs2/ocfs2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/ocfs2.h b/fs/ocfs2/ocfs2.h
index 1fde52c96d25..ab285be023b2 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -156,7 +156,9 @@ struct ocfs2_orphan_scan {
156 struct ocfs2_super *os_osb; 156 struct ocfs2_super *os_osb;
157 struct ocfs2_lock_res os_lockres; /* lock to synchronize scans */ 157 struct ocfs2_lock_res os_lockres; /* lock to synchronize scans */
158 struct delayed_work os_orphan_scan_work; 158 struct delayed_work os_orphan_scan_work;
159 u32 os_seqno; /* incremented on every scan */ 159 struct timespec os_scantime; /* time this node ran the scan */
160 u32 os_count; /* tracks node specific scans */
161 u32 os_seqno; /* tracks cluster wide scans */
160}; 162};
161 163
162struct ocfs2_dlm_debug { 164struct ocfs2_dlm_debug {