aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/ocfs2.h
diff options
context:
space:
mode:
authorSrinivas Eeda <srinivas.eeda@oracle.com>2009-06-03 17:02:56 -0700
committerJoel Becker <joel.becker@oracle.com>2009-06-03 19:14:31 -0700
commit15633a220ffe74fc61bc8117e6a89a494011ea3d (patch)
tree18bf3b92b4ec3988f78c5e07b1471b8f89a2f474 /fs/ocfs2/ocfs2.h
parent83273932fbefb6ceef9c0b82ac4d23900728f4d9 (diff)
downloadkernel_samsung_smdk4412-15633a220ffe74fc61bc8117e6a89a494011ea3d.zip
kernel_samsung_smdk4412-15633a220ffe74fc61bc8117e6a89a494011ea3d.tar.gz
kernel_samsung_smdk4412-15633a220ffe74fc61bc8117e6a89a494011ea3d.tar.bz2
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 1fde52c..ab285be 100644
--- a/fs/ocfs2/ocfs2.h
+++ b/fs/ocfs2/ocfs2.h
@@ -156,7 +156,9 @@ struct ocfs2_orphan_scan {
struct ocfs2_super *os_osb;
struct ocfs2_lock_res os_lockres; /* lock to synchronize scans */
struct delayed_work os_orphan_scan_work;
- u32 os_seqno; /* incremented on every scan */
+ struct timespec os_scantime; /* time this node ran the scan */
+ u32 os_count; /* tracks node specific scans */
+ u32 os_seqno; /* tracks cluster wide scans */
};
struct ocfs2_dlm_debug {