From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Mason Subject: Re: [RFC PATCH 0/2] O_DIRECT locking rework Date: Tue, 24 Oct 2006 15:34:35 -0400 Message-ID: <20061024193435.GE12815@think.oraclecorp.com> References: <20061020183237.GA8674@think.oraclecorp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: akpm@osdl.org, zach.brown@oracle.com Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:49542 "EHLO rgminet01.oracle.com") by vger.kernel.org with ESMTP id S1752082AbWJXTep (ORCPT ); Tue, 24 Oct 2006 15:34:45 -0400 To: linux-fsdevel@vger.kernel.org Content-Disposition: inline In-Reply-To: <20061020183237.GA8674@think.oraclecorp.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hello, Here is a new cut of my O_DIRECT locking rework. It has a much lower cpu cost than the last set, and simple benchmarks no longer show a regression here in system time. But, the complexity for inserting placeholder pages has gone up. I've also changed the way I test for a place holder page (from mm/filemap.c): static struct address_space placeholder_address_space; #define PagePlaceHolder(page) ((page)->mapping == &placeholder_address_space) This is more stable than the last one but I'm just starting to run race and load testing on it. -chris