Messages in this thread | | | From | Nick Piggin <> | Subject | Re: [PATCH 10/28] FS-Cache: Recruit a couple of page flags for cache management [try #2] | Date | Tue, 18 Dec 2007 18:00:23 +1100 |
| |
On Tuesday 18 December 2007 09:36, David Howells wrote: > Nick Piggin <nickpiggin@yahoo.com.au> 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.
| |