[Ocfs2-devel] [PATCH] ocfs2: Use hrtimer to track ocfs2 fs lock stats

Joel Becker jlbec at evilplan.org
Sun Feb 20 04:07:58 PST 2011


On Tue, Dec 28, 2010 at 11:26:03PM -0800, Sunil Mushran wrote:
> 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 at oracle.com>

	This patch is now in the merge-window branch of ocfs2.git.

Joel

-- 

Life's Little Instruction Book #198

	"Feed a stranger's expired parking meter."

			http://www.jlbec.org/
			jlbec at evilplan.org



More information about the Ocfs2-devel mailing list