diff options
author | Sunil Mushran <sunil.mushran@oracle.com> | 2010-12-29 07:26:03 (GMT) |
---|---|---|
committer | Joel Becker <jlbec@evilplan.org> | 2011-02-20 11:56:07 (GMT) |
commit | 5bc970e803ad2b1f26771f39376a79dbf0f5bf64 (patch) | |
tree | cc2c0dd4a49ddad9691d0ef0312475db76bc6464 /lib/string_helpers.c | |
parent | 0cc9d5257857608ba85885b75fcada13d359b5d1 (diff) | |
download | linux-fsl-qoriq-5bc970e803ad2b1f26771f39376a79dbf0f5bf64.tar.xz |
ocfs2: Use hrtimer to track ocfs2 fs lock stats
Patch makes use of the hrtimer to track times in ocfs2 lock stats.
The patch is a bit involved to ensure no additional impact on the memory
footprint. The size of ocfs2_inode_cache remains 1280 bytes on 32-bit systems.
A related change was to modify the unit of the max wait time from nanosec to
microsec allowing us to track max time larger than 4 secs. This change
necessitated the bumping of the output version in the debugfs file,
locking_state, from 2 to 3.
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Joel Becker <jlbec@evilplan.org>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions