Re: Possible Idea with filesystem buffering.

Rik van Riel (riel@conectiva.com.br)
Tue, 22 Jan 2002 18:20:52 -0200 (BRST)


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/

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