Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx11.netapp.com ([216.240.18.76]:12268 "EHLO mx11.netapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752746Ab3KSWec (ORCPT ); Tue, 19 Nov 2013 17:34:32 -0500 From: "Myklebust, Trond" To: "Adamson, Andy" CC: "linux-nfs@vger.kernel.org" Subject: Re: [PATCH Version 3 1/1] NFSv4 wait on recovery for async session errors Date: Tue, 19 Nov 2013 22:34:29 +0000 Message-ID: <1384900469.45997.2.camel@leira.trondhjem.org> References: <1384551376-8734-1-git-send-email-andros@netapp.com> <1384897797.45997.1.camel@leira.trondhjem.org> In-Reply-To: <1384897797.45997.1.camel@leira.trondhjem.org> Content-Type: multipart/mixed; boundary="_002_1384900469459972camelleiratrondhjemorg_" MIME-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: --_002_1384900469459972camelleiratrondhjemorg_ Content-Type: text/plain; charset="utf-7" Content-ID: Content-Transfer-Encoding: quoted-printable On Tue, 2013-11-19 at 16:49 -0500, Trond Myklebust wrote: +AD4- There is a second patch that goes with this problem. Please see the +AD4- following attachment. V2: Don't return an error when we know that the stateid is no longer valid. --=20 Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust+AEA-netapp.com www.netapp.com --_002_1384900469459972camelleiratrondhjemorg_ Content-Type: text/x-patch; name="0001-NFSv4-Update-list-of-irrecoverable-errors-on-DELEGRE.patch" Content-Description: 0001-NFSv4-Update-list-of-irrecoverable-errors-on-DELEGRE.patch Content-Disposition: attachment; filename="0001-NFSv4-Update-list-of-irrecoverable-errors-on-DELEGRE.patch"; size=1505; creation-date="Tue, 19 Nov 2013 22:34:29 GMT"; modification-date="Tue, 19 Nov 2013 22:34:29 GMT" Content-ID: <7BD7E4672BA0C54AA42966148440363C@hq.netapp.com> Content-Transfer-Encoding: base64 RnJvbSBiYTY0YjM2NDljZTMyMzAwNGNjMmJkNzVlNWM5Zjc4NWU2Mzg2Nzc5IE1vb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