lkml.org 
[lkml]   [2009]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 06/43] FS-Cache: Recruit a couple of page flags for cache management [ver #46]
Date
On Friday 03 April 2009 03:15:02 Nick Piggin wrote:
> On Friday 03 April 2009 02:51:02 David Howells wrote:
> > Nick Piggin <nickpiggin@yahoo.com.au> wrote:

> > > Possibly you can't reuse mappedtodisk....
> >
> > PG_mappedtodisk has a very specific meaning to fs/buffer.c and fs/mpage.c. I
> > can't also easily make it mean that a page is backed by the cache. A page can
> > be cached and not mapped to disk.
>
> You have 2 types of pagecache pages you are dealing with here, right? The
> netfs and the backingfs pages. From what you write above, am I to take it
> that you need to know whether a backingfs page is "backed by the cache"?
> WTF for? And what cache is it backed by if it is the backing store?

Ah, sorry you want isofs to be cached by another backing store. All
this talk of netfs confused me. Yes that's fair enough and could
put PG_mappedtodisk out of reach. OTOH, is isofs important? Enough
that it can't be done with fuse or something?

Comments about PG_private still stand.


\
 
 \ /
  Last update: 2009-04-02 18:59    [W:0.109 / U:1.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site