Re: [resent PATCH] Re: very slow parallel read performance

Linus Torvalds
2001-08-28T03:13:50Z

On Mon, 27 Aug 2001, Marcelo Tosatti wrote:
>
> It would be needed to pass a "READ or READA" flag to get_block_t calls
> too, which in turn would end up in a lot of code changes on the low level
> filesystems.

No, that's over-doing it. It's not worth it - you are better off just
taking the (rather smallish) risk that the meta-data isn't already cached.

In the long run, if you _really_ want to be clever, then yes. But in the
short run I doubt it's all that noticeable.

> I'm looking forward to "re-implement" the READA/WRITEA logic for 2.5.
>
> Do you have any idea/comments on how to do that with the smaller amount of
> pain ?

Just worry about data, not meta-data. That simplifies the whole issue a
_lot_, and means that you really only need to change readpage().

Linus