Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Jun 07 2000 - 09:46:20 EST


Hi,

On Wed, Jun 07, 2000 at 11:27:56AM -0300, Rik van Riel wrote:
>
> > I'd imagine reiserfs can do something similar, but even if not,
> > it's not important if the filesystem can't do its lookup by
> > page.
>
> I don't necessarily agree on this point. What if our
> inactive list is filled with pages the filesystem somehow
> regards as new, and the filesystem will be busy flushing
> the "wrong" (in the eyes of the page stealer) pages?

It doesn't matter. *If* the filesystem knows better than the
page cleaner what progress can be made, then let the filesystem
make progress where it can. There are likely to be transaction
dependencies which mean we have to clean some pages in a specific
order. As soon as the page cleaner starts exerting back pressure
on the filesystem, the filesystem needs to start clearing stuff,
and if that means we have to start cleaning things that shrink_
mmap didn't expect us to, then that's fine.

Cheers,
 Stephen

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:29 EST