Re: PATCH: killing read_ahead[]

From: Linus Torvalds (torvalds@transmeta.com)
Date: Wed Oct 25 2000 - 12:37:35 EST


On Wed, 25 Oct 2000, Rik van Riel wrote:
>
> OTOH, block-dev readahead makes sense for filesystems where
> the packing locality is close to the access pattern BUT NOT
> close to anything the page cache would recognise as being
> close.

I dunno. The main reason I'd like to get the block devices into the page
cache is that right now there is no way to mmap them - something that can
potentially be _very_ useful, regardless of readahead.

And quite frankly, the generic file readahead has been pounded upon and
tested a lot more than the block device read-ahead ever was. I bet it
performs better if for no other reason.

                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:16 EST