Re: PATCH: killing read_ahead[]

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Oct 24 2000 - 14:46:36 EST


On Tue, 24 Oct 2000, Jeff Garzik wrote:
>
> I agree with you and Rik that this array needs to go away... but
> ripping out the feature is not the answer, IMHO.

Actually, the _real_ answer is to make fs/block_dev.c use the page cache
instead - and generic_file_read() does read-ahead that actually improves
performance, unlike the silly contortions that the direct block-dev
read-ahead tries to do.

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:14 EST