Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754613AbZJZNUE (ORCPT ); Mon, 26 Oct 2009 09:20:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754585AbZJZNUD (ORCPT ); Mon, 26 Oct 2009 09:20:03 -0400 Received: from mx2.netapp.com ([216.240.18.37]:34529 "EHLO mx2.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754577AbZJZNUB (ORCPT ); Mon, 26 Oct 2009 09:20:01 -0400 X-IronPort-AV: E=Sophos;i="4.44,626,1249282800"; d="scan'208";a="264167632" Subject: Re: regression, bisected: getcwd() ENOENT on NFS4... From: Trond Myklebust To: Daniel J Blueman Cc: Linux Kernel , linux-nfs@vger.kernel.org In-Reply-To: <6278d2220910251631j40caec00lf2dee6159947d983@mail.gmail.com> References: <6278d2220910251631j40caec00lf2dee6159947d983@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: NetApp Date: Mon, 26 Oct 2009 09:19:50 -0400 Message-Id: <1256563190.3742.4.camel@heimdal.trondhjem.org> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 (2.26.3-1.fc11) X-OriginalArrivalTime: 26 Oct 2009 13:19:51.0012 (UTC) FILETIME=[FFA00A40:01CA563E] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1541 Lines: 50 On Sun, 2009-10-25 at 23:31 +0000, Daniel J Blueman wrote: > Since 2.6.30-rc, I've been experiencing various issues relating to > getcwd() returning ENOENT on NFS4 clients. I used an over-complicated > but reliable reproducer [1] (on Karmic RC against a 2.6.32-rc5 NFS4 > server) to bisect [2]. > > The impact of this regression is moderate (side-effects range from > benign to failure), so we should get a fix into 2.6.32 if at all > possible and strongly consider a 2.6.31 stable update. > > Thanks, > Daniel > > --- [1] > > $ apt-get source apt > $ cd apt-* > $ ./configure && make > [snip] > sh: getcwd() failed: No such file or directory > > --- [2] > > a65318bf3afc93ce49227e849d213799b072c5fd is first bad commit > commit a65318bf3afc93ce49227e849d213799b072c5fd > Author: Trond Myklebust > Date: Wed Mar 11 14:10:28 2009 -0400 > > NFSv4: Simplify some cache consistency post-op GETATTRs I'm having a lot of trouble seeing how this patch could result in ENOENT. All it should be doing is reducing the frequency with which we update some of the inode metadata. Have you ever been able to capture one of these errors using strace? Cheers Trond -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@netapp.com www.netapp.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/