Return-Path: Received: from mail-fx0-f217.google.com ([209.85.220.217]:49258 "EHLO mail-fx0-f217.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbZHZQMq (ORCPT ); Wed, 26 Aug 2009 12:12:46 -0400 Received: by fxm17 with SMTP id 17so246717fxm.37 for ; Wed, 26 Aug 2009 09:12:47 -0700 (PDT) In-Reply-To: <551A5C21-FB0F-4B77-B817-80A368A0F054@oracle.com> References: <1251226809.25372.29.camel@heimdal.trondhjem.org> <1251227539.25372.35.camel@heimdal.trondhjem.org> <1251228350.25372.36.camel@heimdal.trondhjem.org> <5FC6E83A-4D26-4A77-B3F0-E34A9E97E9B5@oracle.com> <551A5C21-FB0F-4B77-B817-80A368A0F054@oracle.com> Date: Wed, 26 Aug 2009 18:12:47 +0200 Message-ID: Subject: Re: NFS v3 cached directory content out of sync From: Stefan Egli To: linux-nfs Cc: Trond Myklebust , Chuck Lever Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-nfs-owner@vger.kernel.org List-ID: MIME-Version: 1.0 FYI: For the reference a quick summary of this issue: Linux Kernels older than 2.6.30 (or at least in 2.6.26 which we're using) have this bug which can be reproduced as follows: * have two hosts: host A and host B - both having the same NFS directory mounted and being in the same subdirectory on that NFS * host A: mkdir testdir; touch -m --date "2009-08-25 11:35" testdir * host B: ls testdir * host A: touch testdir/aNewFile; touch -m --date "2009-08-25 11:35" testdir * host B: ls testdir * shows an empty directory - even though 'aNewFile' just got created. This remains so for hours. The commit-set ID which is probably related (as of now I couldn't test the above on 2.6.30): 37d9d76d8b3a2ac5817e1fa3263cfe0fdb439e51 Cheers, Stefan