Re: [PATCH] 2.4 read ahead never reads the last page in a file

From: Mike Fedyk
Date: Thu Dec 04 2003 - 20:56:00 EST


On Wed, Dec 03, 2003 at 06:10:31PM -0500, Chuck Lever wrote:
> generic_file_readahead never reads the last page of a file. this means
> the last page is always read synchronously by do_generic_file_read.

Has this been fixed in 2.6? If so, it would improve the speed of mail
servers that use maildir, (I think mbox should be ok, since the data that
was appended has a good chance of still being in memory. Though, to compute
UIDL for pop3, it has to read the entire mbox file, forcing other mbox users
out of cache, and then evening up performance between the two. Though this
patch should help maildir more.)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/