Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 23 Sep 2002 18:38:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 23 Sep 2002 18:38:23 -0400 Received: from pat.uio.no ([129.240.130.16]:40926 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id ; Mon, 23 Sep 2002 18:38:22 -0400 To: Daniel Phillips Cc: trond.myklebust@fys.uio.no, Andrew Morton , Rik van Riel , Urban Widmark , Chuck Lever , Linux Kernel Mailing List Subject: Re: invalidate_inode_pages in 2.5.32/3 References: <3D811A6C.C73FEC37@digeo.com> <3D8F6409.D45AA848@digeo.com> <15759.31838.68147.725840@charged.uio.no> From: Trond Myklebust Date: 24 Sep 2002 00:43:06 +0200 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 841 Lines: 16 >>>>> " " == 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? Cheers, Trond - 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/