Re: linux-2.4.10-pre5

Daniel Phillips (phillips@bonn-fries.net)
Tue, 11 Sep 2001 01:20:50 +0200


On September 11, 2001 12:15 am, Linus Torvalds wrote:
> However, physical read-ahead really isn't the answer here. I bet you could
> cut your time down with it, agreed. But you'd hurt a lot of other loads,
> and it really depends on nice layout on disk. Plus you wouldn't even know
> where to put the data you read-ahead: you only have the physical address,
> not the logical address, and the page-cache is purely logically indexed..

You leave it in the buffer cache and the page cache checks for it there
before deciding it has to hit the disk.

For coherency, getblk has to check for the block in the page cache. We can
this implement using the buffer hash chain links, currently unused for page
cache buffers.

--
Daniel
-
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/