Re: Possible Idea with filesystem buffering.

Rik van Riel
2002-01-22T23:35:46Z

On Wed, 23 Jan 2002, Hans Reiser wrote:

> Let's try a non-reiserfs sub-cache example. Suppose you have a cache
> of objects that are smaller than a page.

> Suppose that there is absolutely no correlation in access between the
> objects that are on the same page. Suppose that this subcache has
> methods for freeing however many of them it wants to free, and it can
> squeeze them together into fewer pages whenever it wants to.

In this case I absolutely agree with you.

In this case it is also _possible_ because all access
to these data structures goes through the filesystem
code, so the filesystem knows exactly which object is
a candidate for freeing and which isn't.

I think the last messages from the thread were a
miscommunication between us -- I was under the impression
that you wanted per-filesystem freeing decisions for things
like page cache pages.

kind 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/