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

Mark Fasheh mfasheh at suse.com
Mon May 12 17:42:55 PDT 2008


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?

Rest of the patch seems fine to me.
	--Mark

--
Mark Fasheh



More information about the Ocfs2-devel mailing list