Re: [PATCH 10/28] FS-Cache: Recruit a couple of page flags for cache management [try #2]

From: Nick Piggin
Date: Tue Dec 18 2007 - 02:00:46 EST


On Tuesday 18 December 2007 09:36, David Howells wrote:
> Nick Piggin <nickpiggin@xxxxxxxxxxxx> wrote:
> > I'd much prefer if you would handle this in the filesystem, and have it
> > set PG_private whenever fscache needs to receive a callback, and DTRT
> > depending on whether PG_fscache etc. is set or not.
>
> That's tricky and slower[*]. One of the things I want to do is to modify
> iso9660 to do be able to do caching, but PG_private is 'owned' by the
> generic buffer cache code.

Maybe it is harder, but it is the right way to do it. So you
should modify the filesystems rather than core code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/