Messages in this thread |  | | Date | Wed, 25 Oct 2000 12:28:06 -0200 (BRDT) | From | Rik van Riel <> | Subject | Re: PATCH: killing read_ahead[] |
| |
On Tue, 24 Oct 2000, Linus Torvalds wrote: > 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.
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.
Then again ... that's a filesystem issue, not a block device issue. ;)
regards,
Rik -- "What you're running that piece of shit Gnome?!?!" -- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
- 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/
|  |