Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 24 Sep 2002 12:21:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 24 Sep 2002 12:21:10 -0400 Received: from dsl-213-023-039-208.arcor-ip.net ([213.23.39.208]:21435 "EHLO starship") by vger.kernel.org with ESMTP id ; Tue, 24 Sep 2002 12:21:10 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Trond Myklebust Subject: Re: invalidate_inode_pages in 2.5.32/3 Date: Tue, 24 Sep 2002 07:09:20 +0200 X-Mailer: KMail [version 1.3.2] Cc: trond.myklebust@fys.uio.no, Andrew Morton , Rik van Riel , Urban Widmark , Chuck Lever , Linux Kernel Mailing List References: <3D811A6C.C73FEC37@digeo.com> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Message-Id: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 26 On Tuesday 24 September 2002 00:43, Trond Myklebust wrote: > >>>>> " " == Daniel Phillips writes: > > >> Note that in doing so, we do not want to invalidate any reads > >> or writes that may have been already scheduled. The existing > >> mapping still would need to hang around long enough to permit > >> them to complete. > > > With the mechanism I described above, that would just work. > > The fault path would do lock_page, thus waiting for the IO to > > complete. > > NFS writes do not hold the page lock until completion. How would you > expect to be able to coalesce writes to the same page if they did? Coalesce before initiating writeout? I don't see why NFS should be special in this regard, or why it should not leave a page locked until IO has completed, like other filesystems. Could you please explain? -- 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/