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

Joel Becker Joel.Becker at oracle.com
Mon May 12 18:06:04 PDT 2008


On Mon, May 12, 2008 at 05:42:55PM -0700, Mark Fasheh wrote:
> On Thu, May 08, 2008 at 10:57:01AM -0700, Sunil Mushran wrote:
> 
> > @@ -2461,7 +2531,11 @@ static void *ocfs2_dlm_seq_next(struct seq_file *m, void *v, loff_t *pos)
> >  }
> >  
> >  /* So that debugfs.ocfs2 can determine which format is being used */
> > +#ifdef CONFIG_OCFS2_FS_STATS
> > +#define OCFS2_DLM_DEBUG_STR_VERSION 2
> > +#else
> >  #define OCFS2_DLM_DEBUG_STR_VERSION 1
> > +#endif
> 
> Why not just bump this and print zero's if CONFIG_OCFS2_FS_STATS isn't
> enabled?

	I second this.

Joel

-- 

"In a crisis, don't hide behind anything or anybody. They're going
 to find you anyway."
	- Paul "Bear" Bryant

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127



More information about the Ocfs2-devel mailing list