From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S263795AbTLEByx (ORCPT ); Thu, 4 Dec 2003 20:54:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S263796AbTLEByw (ORCPT ); Thu, 4 Dec 2003 20:54:52 -0500 Received: from mta4.rcsntx.swbell.net ([151.164.30.28]:25041 "EHLO mta4.rcsntx.swbell.net") by vger.kernel.org with ESMTP id S263795AbTLEByw (ORCPT ); Thu, 4 Dec 2003 20:54:52 -0500 Date: Thu, 4 Dec 2003 17:54:37 -0800 From: Mike Fedyk To: Chuck Lever Cc: Marcelo Tosatti , Linux Kernel Mailing List Subject: Re: [PATCH] 2.4 read ahead never reads the last page in a file Message-ID: <20031205015437.GI29119@mis-mike-wstn.matchmail.com> Mail-Followup-To: Chuck Lever , Marcelo Tosatti , Linux Kernel Mailing List References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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.)