Re: Random file I/O regressions in 2.6

Peter Zaitsev
2004-05-03T21:37:49Z

On Mon, 2004-05-03 at 13:57, Andrew Morton wrote:
> Ram Pai <linuxram@us.ibm.com> wrote:
> >
> > > The place which needs attention is handle_ra_miss(). But first I'd like to
> > > reacquaint myself with the intent behind the lazy-readahead patch. Was
> > > never happy with the complexity and special-cases which that introduced.
> >
> > lazy-readahead has no role to play here.
>

Andrew,

Could you please clarify how this things become to be dependent on
read-ahead at all.

At my understanding read-ahead it to catch sequential (or other) access
pattern and do some advance reading, so instead of 16K request we do
128K request, or something similar.

But how could read-ahead disabled end up in 16K request converted to
several sequential synchronous 4K requests ?

It all looks pretty strange.

--
Peter Zaitsev, Senior Support Engineer
MySQL AB, www.mysql.com