Re: linux-2.4.10-pre5

Daniel Phillips
2001-09-11T00:05:56Z

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