From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 19 09:00:02 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DE0D37B401 for ; Thu, 19 Jun 2003 09:00:02 -0700 (PDT) Received: from frontend2.aha.ru (bird.zenon.net [213.189.198.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67A4143F3F for ; Thu, 19 Jun 2003 09:00:00 -0700 (PDT) (envelope-from uitm@blackflag.ru) Received: from [195.2.90.70] (HELO slt.oz) by frontend2.aha.ru (CommuniGate Pro SMTP 4.0.6) with ESMTP id 192742256 for freebsd-hackers@freebsd.org; Thu, 19 Jun 2003 19:59:58 +0400 Received: (from uitm@localhost) by slt.oz (8.8.8/8.8.8) id UAA00769 for freebsd-hackers@freebsd.org; Thu, 19 Jun 2003 20:01:50 +0400 (MSD) From: Andrey Alekseyev Message-Id: <200306191601.UAA00769@slt.oz> In-Reply-To: <200306190955.NAA00538@slt.oz> from Andrey Alekseyev at "Jun 19, 3 01:54:31 pm" To: freebsd-hackers@freebsd.org Date: Thu, 19 Jun 2003 20:01:49 +0400 (MSD) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: open() and ESTALE error X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2003 16:00:02 -0000 Another correction: - statement below is valid for a configuration where nfsaccess_cache_timeout is generally less than acmin, otherwise chances are the failure will be VOP_OPEN while requesting new attributes by a call to VOP_GETATTR > which is called from vn_open(). If nfs_access() decides to "go to the wire" > in #4, it then uses a cached file handle which is indeed stale. Thus, > open() eventually fails with ESTALE too (ESTALE comes from underlying > nfs_request()).