[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110527233331.GC30232@noexit.corp.google.com>
Date: Fri, 27 May 2011 16:33:31 -0700
From: Joel Becker <jlbec@...lplan.org>
To: Steven Whitehouse <swhiteho@...hat.com>
Cc: Dan Magenheimer <dan.magenheimer@...cle.com>,
linux-kernel@...r.kernel.org, sunil.mushran@...cle.com
Subject: Re: Cleancache and shared filesystems
On Fri, May 27, 2011 at 05:19:39PM +0100, Steven Whitehouse wrote:
> + if (ls->ls_ops == &gfs2_dlm_ops) {
> + if (gfs2_uuid_valid(sb->s_uuid))
> + cleancache_init_shared_fs(sb->s_uuid, sb);
> + } else {
> + cleancache_init_fs(sb);
> + }
Hey Dan,
Steven makes a good point here. ocfs2 could also take advantage
of local filesystem behavior when running in local mode.
Joel
--
Life's Little Instruction Book #69
"Whistle"
http://www.jlbec.org/
jlbec@...lplan.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists