diff options
author | Srinivas Eeda <srinivas.eeda@oracle.com> | 2009-06-03 20:02:56 -0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-06-03 22:14:31 -0400 |
commit | 15633a220ffe74fc61bc8117e6a89a494011ea3d (patch) | |
tree | 18bf3b92b4ec3988f78c5e07b1471b8f89a2f474 /fs/ocfs2/ocfs2.h | |
parent | 83273932fbefb6ceef9c0b82ac4d23900728f4d9 (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.h | 4 |
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 | ||
162 | struct ocfs2_dlm_debug { | 164 | struct ocfs2_dlm_debug { |