[Top] [All Lists]

Re: Cleancache support in XFS

To: Alexey Vlasov <renton@xxxxxxxxxxx>
Subject: Re: Cleancache support in XFS
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sun, 6 May 2012 09:40:28 +1000
Cc: Christoph Hellwig <hch@xxxxxxxxxxxxx>, xfs@xxxxxxxxxxx
In-reply-to: <20120502080220.GA20504@beaver>
References: <20120430173112.GA16257@beaver> <20120430191218.GA23530@xxxxxxxxxxxxx> <20120502080220.GA20504@beaver>
User-agent: Mutt/1.5.21 (2010-09-15)
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.


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>