diff options
author | Srinivas Eeda <srinivas.eeda@oracle.com> | 2009-06-04 04:02:56 +0400 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2009-06-04 06:14:31 +0400 |
commit | 15633a220ffe74fc61bc8117e6a89a494011ea3d (patch) | |
tree | 18bf3b92b4ec3988f78c5e07b1471b8f89a2f474 /fs/ocfs2/ocfs2.h | |
parent | 83273932fbefb6ceef9c0b82ac4d23900728f4d9 (diff) | |
download | linux-15633a220ffe74fc61bc8117e6a89a494011ea3d.tar.xz |
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 { 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 { |