lkml.org 
[lkml]   [2002]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Possible Idea with filesystem buffering.
    Rik van Riel wrote:

    >On Mon, 21 Jan 2002, Hans Reiser wrote:
    >
    >>Suppose we do what you ask, and always write the page (as well as some
    >>other pages) to disk. This will result in the filesystem cache as a
    >>whole receiving more pressure than other caches that only write one
    >>page in response to pressure. This is unbalanced, leads to some
    >>caches having shorter average page lifetimes than others, and it is
    >>therefor suboptimal. Yes?
    >>
    >
    >If your ->writepage() writes pages to disk it just means
    >that reiserfs will be able to clean its pages faster than
    >the other filesystems.
    >
    the logical extreme of this is that no write caching should be done at
    all, only read caching?

    >
    >
    >This means the VM will not call reiserfs ->writepage() as
    >often as for the other filesystems, since more of the
    >pages it finds will already be clean and freeable.
    >
    >I guess the only way to unbalance the caches is by actually
    >freeing pages in ->writepage, but I don't see any real reason
    >why you'd want to do that...
    >
    >regards,
    >
    >Rik
    >
    It would unbalance the write cache, not the read cache.

    Hans

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

    \
     
     \ /
      Last update: 2005-03-22 13:15    [W:0.025 / U:91.424 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site