From: Vince Busam Subject: Re: mtime not updated in client cache? Date: Wed, 07 Dec 2005 17:22:26 -0800 Message-ID: <43978AD2.8020000@google.com> References: <438B9C44.4030305@google.com> <1133225130.12178.9.camel@lade.trondhjem.org> <438E4CA7.2050405@google.com> <1133399727.8267.11.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: 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 1EkAUn-0005aW-GI for nfs@lists.sourceforge.net; Wed, 07 Dec 2005 17:22:53 -0800 Received: from smtp-out.google.com ([216.239.33.17]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1EkAUk-0003HA-Se for nfs@lists.sourceforge.net; Wed, 07 Dec 2005 17:22:53 -0800 To: Trond Myklebust In-Reply-To: <1133399727.8267.11.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 Wed, 2005-11-30 at 17:06 -0800, Vince Busam wrote: > >>Trond Myklebust wrote: >> >>>On Mon, 2005-11-28 at 16:09 -0800, Vince Busam wrote: >>> >>> >>>>The following code snippet run on a 2.6.13.4 (+CITI patch) client shows that mtime doesn't >>>>get updated unless fclose() is called before stat, or O_DIRECT is used. In 2.4, the stat >>>>would return an updated mtime. Is this a bug, or expected cache behavior? >>> >>> >>>That is a known issue that should be fixed in 2.6.15-rcX >>> >> >>Awesome. Is there a patch I can help test out? > > > The standard 2.6.15-rc3 patch from ftp.kernel.org should suffice. There > is both an NFS_ALL and a CITI_ALL that you can apply on top of it if you > like, but the straight 2.6.15-rc3 should already fix the mtime issue you > reported. > I tried 2.6.15-rc5 (withoug NFS_ALL and CITI_ALL), and it exhibits the same issue as demonstrated by the above referenced code. Vince ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs