Messages in this thread | | | Date | Mon, 27 Aug 2001 20:10:52 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: [resent PATCH] Re: very slow parallel read performance |
| |
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
- 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/
| |