Re: Possible Idea with filesystem buffering.

Hans Reiser
2002-01-21T01:12:42Z

Rik van Riel wrote:

>On Mon, 21 Jan 2002, Hans Reiser wrote:
>
>>Not if you provide a proper design of a master cache manager.
>>Really, all you have to do is have the subcache managers designed to
>>free the same number of pages on average in response to pressure, and
>>to pressure them in proportion to their size, and it is pretty simple
>>for VM.
>>
>
>I take it you're volunteering to bring ext3, XFS, JFS,
>JFFS2, NFS, the inode & dentry cache and smbfs into
>shape so reiserfs won't get unbalanced ?
>
>regards,
>
>Rik
>
If they use writepage(), then the job of balancing cache cleaning is
done, we just use
writepage as their pressuring mechanism. Any FS that wants to optimize
cleaning
can implement a VFS method, and any FS that wants to optimize freeing
can implement a VFS method,
and all others can use their generic VM current mechanisms.

Hans