From: Peter Staubach Subject: Re: Data coherency trouble with multiple clients, on2.6.14-rc5 Date: Wed, 26 Oct 2005 14:45:35 -0400 Message-ID: <435FCECF.2090800@redhat.com> References: <044B81DE141D7443BCE91E8F44B3C1E288E5A5@exsvl02.hq.netapp.com> <1130345451.8852.7.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: "Lever, Charles" , Charles Duffy , nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1EUqHY-0002Pg-BR for nfs@lists.sourceforge.net; Wed, 26 Oct 2005 11:45:52 -0700 Received: from mx1.redhat.com ([66.187.233.31]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EUqHX-0001YY-5N for nfs@lists.sourceforge.net; Wed, 26 Oct 2005 11:45:52 -0700 To: Trond Myklebust In-Reply-To: <1130345451.8852.7.camel@lade.trondhjem.org> Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: Trond Myklebust wrote: >on den 26.10.2005 klokka 08:27 (-0700) skreiv Lever, Charles: > > > >>i agree that O_DIRECT is the right solution. however, even with "noac" >>i would expect mr. duffy's workload to behave correctly most of the >>time. sounds like he is able to make it fail very easily. >> >> > >Why would you expect that? > >"noac" does not turn off data caching, nor does it change the policy >that the client will not invalidate the data cache while it is holding >the file open for write. > It seems to me that the policy should be to allow cache validation/invalidation unless the file is mmap'd for writing or if there are active WRITEs outstanding. Simply having the file open for write should not affect the consistency model. Thanx... ps ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs