[Ocfs2-devel] [PATCH 1/1] ocfs2: Add cluster lock stats at the fs level

Sunil Mushran Sunil.Mushran at oracle.com
Thu Apr 10 15:56:31 PDT 2008


How about I add another config OCFS2_ENABLE_STATS? OCFS2_DEBUG_FS
is truly debugging that has no place in a prod env while this is
could potentially be very useful in the same env.

Mark Fasheh wrote:
> On Wed, Apr 02, 2008 at 04:16:28PM -0700, Sunil Mushran wrote:
>   
>> This patch adds code to track the number of times the fs takes
>> various cluster locks as well as the times associated with it.
>>     
>
> Ok, this is definitely some usefull stuff. I'm concerned about how much it
> grows struct ocfs2_lock_res though - I count 52 bytes. Even if the overhead
> doesn't technically push it out to another slab, that's still a lot. Can we
> wrap enough of this in OCFS2_DEBUG_FS so that the overhead can be easily
> compiled out?
> 	--Mark
>
> --
> Mark Fasheh
>   




More information about the Ocfs2-devel mailing list