Cleancache support in XFS

Dave Chinner david at fromorbit.com
Sat May 5 18:40:28 CDT 2012


On Wed, May 02, 2012 at 12:02:20PM +0400, Alexey Vlasov wrote:
> On Mon, Apr 30, 2012 at 03:12:18PM -0400, Christoph Hellwig wrote:
> > > 
> > > Could you please tell me if you are planning to support cleancache in
> > > XFS?
> > 
> > As soon as someone submits a patch.  In theory it should just work, but
> > the cleancache maintainer require a completely idiotic one liner to
> > actually enable it.  Feel free to submit it once you actually tested it.
> 
> Cleancache_init_fs () I can actually put where it it should be  but I
> think it won't be enough. I think there some hooks needed (as for brtfs)
> but I can't fix it as I'm far from programming.

XFS uses mpage_readpages() so doesn't need other hooks. btrfs has
it's own readpage path, so needs them for that.

Cheers,

Dave.
-- 
Dave Chinner
david at fromorbit.com



More information about the xfs mailing list