Re: Possible Idea with filesystem buffering.

Rik van Riel
2002-01-22T20:21:36Z

On Tue, 22 Jan 2002, Hans Reiser wrote:
> Rik van Riel wrote:
> >On Tue, 22 Jan 2002, Chris Mason wrote:

> >>The FS doesn't know how long a page has been dirty, or how often it
> >>gets used,
> >
> >In an efficient system, the FS will never get to know this, either.
>
> I don't understand this statement. If dereferencing a vfs op for
> every page aging is too expensive, then ask it to age more than one
> page at a time. Or do I miss your meaning?

Please repeat after me:

"THE FS DOES NOT SEE THE MMU ACCESSED BITS"

Also, if a piece of data is in the page cache, it is accessed
without calling the filesystem code.

This means the filesystem doesn't know how often pages are or
are not used, hence it cannot make the decisions the VM make.

Or do you want to have your own ReiserVM and ReiserPageCache ?

regards,

Rik
--
"Linux holds advantages over the single-vendor commercial OS"
-- Microsoft's "Competing with Linux" document

http://www.surriel.com/ http://distro.conectiva.com/