Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp755604ybz; Wed, 29 Apr 2020 08:49:17 -0700 (PDT) X-Google-Smtp-Source: APiQypKNfurjqsxdN11X4ovb3gnswG57R02UaB5dY6gCz/0GYsnMdRSwpFvNSBvOgS/ITdt82xD4 X-Received: by 2002:a17:906:7804:: with SMTP id u4mr3264513ejm.328.1588175357099; Wed, 29 Apr 2020 08:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588175357; cv=none; d=google.com; s=arc-20160816; b=MFOBHkyLewktM2ruFALgDarK25wdZkrHBmdlLhzzDSNanBNUEQ910drTsVkpCWwSaK zPfZ6iLk0wSGP4Y6ny15ffVDt4Vh+LQ+LnAGn1j7wsxaHeFVPkfdO4EUzeu1DMqBG97R j7X3OaXr++XlOaNh4xVViwPoAD9kTYdjbuuikoCQvw8qkSwcnuhi33whThm/6nbvSDll HPwkAer2Hr2aKiA4eiwP8KVafidHr9U0jPmI3XWxJFom1ckVQ2hBesYiy3dAYN7Iw24+ s4eVxzqMoiOR5IlwIjX0yQQSwIDZdxg+nxCY4dDhNL4k0Diaju3Wq45pyUiOfgjRG8yH 8tZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:from:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:date; bh=oeH+EpohwGgmHp77GAXZJmERcQRTsWkYnDPxyywX8jU=; b=rFO45XHPgynfYGKqgjCHHEUY2msnjgL4WZOZ87LLUZ236Ym1IT5Rv07zl3iRV6Aa7b fSx75SwPskHOm0FTAL7/WHo7XhjCcvIpw7L0vUkqcpA4wt2ARx7T9PRnFw3XWCYLT4w+ jceSNKwB6XKaMIWypQx+ywuC1WxbRzRoBzeYmwe4YxrdczrkNkTCPNGABJF2NbAcOtAe Fkqz8+FddAIjDxEpoqAOZoMeJeJ3EYU2tQUMXNK8f4Yhb7nMxc4cdexI1iUuddZqteA/ Bnt4uLDrg55BKV4GWxO3x1aUOAZWOZmJhCft9xes1zbph/UtypCXBIdumdkLcn226Yrw lQ7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q28si3822149edb.518.2020.04.29.08.48.42; Wed, 29 Apr 2020 08:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726530AbgD2Pqj (ORCPT + 99 others); Wed, 29 Apr 2020 11:46:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726456AbgD2Pqj (ORCPT ); Wed, 29 Apr 2020 11:46:39 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00::f03c:91ff:fe50:41d6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57C34C03C1AD for ; Wed, 29 Apr 2020 08:46:39 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id CDEE223E4; Wed, 29 Apr 2020 11:46:38 -0400 (EDT) Date: Wed, 29 Apr 2020 11:46:38 -0400 To: Olga Kornievskaia Cc: Trond Myklebust , "linux-nfs@vger.kernel.org" Subject: Re: handling ERR_SERVERFAULT on RESTOREFH Message-ID: <20200429154638.GB4799@fieldses.org> References: <98410608e028cb4b53024c7669e0fb70fea98214.camel@hammerspace.com> <98a10c8775e4127419ac57630f839744bdf1063d.camel@hammerspace.com> <8549f1fc955faedc35d810a4ad3e21904379a59a.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: bfields@fieldses.org (J. Bruce Fields) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Apr 28, 2020 at 10:12:29PM -0400, Olga Kornievskaia wrote: > I also believe that client shouldn't be coded to a broken server. But > in some of those cases, the client is not spec compliant, how is that > a server bug? The case of SERVERFAULT of RESTOREFH I'm not sure what > to make of it. I think it's more of a spec failure to address. It > seems that server isn't allowed to fail after executing a > non-idempotent operation but that's a hard requirement. I still think > that client's best set of action is to ignore errors on RESTOREFH. Maybe. But how is a server hitting SERVERFAULT on RESTOREFH, anyway? That's pretty weird. --b.