Re: [RFC] generic IO write clustering

Marcelo Tosatti
2001-01-20T19:45:56Z

On Sat, 20 Jan 2001, Christoph Hellwig wrote:

> On Sat, Jan 20, 2001 at 02:00:24PM -0200, Marcelo Tosatti wrote:
> > > True. But you have to go through ext2_get_branch (under the big kernel
> > > lock) - if we can do only one logical->physical block translations,
> > > why doing it multiple times?
> >
> > You dont. If the metadata is cached and uptodate there is no need to call
> > get_block().
>
> Ups. You are right for the stock tree - I was only looking at my kio tree,
> where it can't be cached due to the lack of buffer-cache usage...

Must be fixed.

We need a higher level abstraction which can hold this (and other)
information.

Take a look at SGI's pagebuf page_buf_t.