From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Morton Subject: Re: kjournald() with DIO Date: Thu, 15 Sep 2005 11:52:49 -0700 Message-ID: <20050915115249.4e4320e1.akpm@osdl.org> References: <1126567387.14837.36.camel@dyn9047017102.beaverton.ibm.com> <20050912163732.036b2971.akpm@osdl.org> <1126569984.14837.47.camel@dyn9047017102.beaverton.ibm.com> <20050912172935.19907edf.akpm@osdl.org> <1126630370.14837.60.camel@dyn9047017102.beaverton.ibm.com> <20050913160701.355cd46a.akpm@osdl.org> <1126718583.4010.6.camel@localhost.localdomain> <20050914111809.41c5b395.akpm@osdl.org> <1126734025.4010.21.camel@localhost.localdomain> <20050914150224.3b6d7051.akpm@osdl.org> <20050915111110.GA6904@in.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: cmm@us.ibm.com, pbadari@us.ibm.com, linux-fsdevel@vger.kernel.org, sct@redhat.com, andrea@suse.de Return-path: Received: from smtp.osdl.org ([65.172.181.4]:58587 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S932081AbVIOS5J (ORCPT ); Thu, 15 Sep 2005 14:57:09 -0400 To: suparna@in.ibm.com In-Reply-To: <20050915111110.GA6904@in.ibm.com> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Suparna Bhattacharya wrote: > > But I wonder, do we really have to or intend to guarantee DIO vs mmaped > write consistency ? What we have is sort of best effort -- we just ensure > no corruptions and exposures, and try to keep data consistent to the > extent we can. Yup. There will be holes where inconsistencies can get in. We just need to understand what they are and arrange for them to be as benign as poss. > Can we actually do a perfect job ? Certainly we can, but I don't think there's a way of doing it in an acceptably performant way.