Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265785AbUADXW4 (ORCPT ); Sun, 4 Jan 2004 18:22:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265772AbUADXWn (ORCPT ); Sun, 4 Jan 2004 18:22:43 -0500 Received: from mta4.rcsntx.swbell.net ([151.164.30.28]:7348 "EHLO mta4.rcsntx.swbell.net") by vger.kernel.org with ESMTP id S265768AbUADXWk (ORCPT ); Sun, 4 Jan 2004 18:22:40 -0500 Date: Sun, 4 Jan 2004 15:22:31 -0800 From: Mike Fedyk To: Andrew Morton Cc: ornati@lycos.it, gandalf@wlug.westbo.se, linuxram@us.ibm.com, linux-kernel@vger.kernel.org Subject: Re: Buffer and Page cache coherent? was: Strange IDE performance change in 2.6.1-rc1 (again) Message-ID: <20040104232231.GV1882@matchmail.com> Mail-Followup-To: Andrew Morton , ornati@lycos.it, gandalf@wlug.westbo.se, linuxram@us.ibm.com, linux-kernel@vger.kernel.org References: <200401021658.41384.ornati@lycos.it> <20040102213228.GH1882@matchmail.com> <1073082842.824.5.camel@tux.rsn.bth.se> <200401031213.01353.ornati@lycos.it> <20040103144003.07cc10d9.akpm@osdl.org> <20040104171545.GR1882@matchmail.com> <20040104141030.02fbcce5.akpm@osdl.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040104141030.02fbcce5.akpm@osdl.org> User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1202 Lines: 27 On Sun, Jan 04, 2004 at 02:10:30PM -0800, Andrew Morton wrote: > Mike Fedyk wrote: > > > > On Sat, Jan 03, 2004 at 02:40:03PM -0800, Andrew Morton wrote: > > > No effort was made to optimise buffered blockdev reads because it is not > > > very important and my main interest was in data coherency and filesystem > > > metadata consistency. > > > > Does that mean that blockdev reads will populate the pagecache in 2.6? > > They have since 2.4.10. The pagecache is the only cacheing entity for file > (and blockdev) data. There was a large thread after 2.4.10 was released about speeding up the boot proces by reading the underlying blockdev of the root partition in block order. Unfortunately at the time reading the files through the pagecache would cause a second read of the data even if it was already buffered. I don't remember the exact details. Are you saying this is now resolved? And the above optimization will work? - 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/