Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3851817pxu; Sun, 20 Dec 2020 18:58:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJy9q0RmurK2cBhLMDGu9dzVItqpXECnKFztvzAQyT0NCmxCGYzCuIu3si27ofqJa+hdP5qZ X-Received: by 2002:a05:6402:404:: with SMTP id q4mr14533613edv.295.1608519524227; Sun, 20 Dec 2020 18:58:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608519524; cv=none; d=google.com; s=arc-20160816; b=c5V0zBB0yyrRObEtnP4G/jWaa2LREBKwziomxU6ziO7xO/9DYUbnpxICxr27ZN4GYf nNi+U1g6pf5PZV638XXZsjQSjzclLQDvQzvl5edooNJkaDeqPz0cbihHmXAI8w230bm9 /1i2JmPqiMu83qOkwb/emQNeoUxAW+tcJF2bbmkyy5znb7J2Fp8Sipxzc9EcUL7sh9le leD/nfUdcsPjop0qy/Et9wEup3ej7efN8568n/KOhJUCrvb9u1V5FbbicTZS5uvauefU wJrpCvkZwqUmTMPCTLKCMkqfNY95DXIYKvXu1qMDyHo8Ey4UW6UxOVo2gwC1oNKgCgUj 6TbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-filter; bh=5JE9TJllW3bfzd8TtKpTM/aSWIBfxU6Che9CmbiwEvs=; b=J0833lR72vlo26ejnir/GTI6UfVNXSj0DsWFUkU6CV5qPpauL94w6hPYGJd0gGhXYA SMeMWYpQIWXON63YzgfIcI8TEgi4AfzvTydDwkUbSuOTd3ebtMSp/G7kAoOCzp5ITICm eyDK/9bjW44n7ED8RYclvLkkdoFaXgMZPqm8TVX0Dz77WzmOas0PMVpQY17DskJL0PSF iA71j7z7itENBghqKsPBMvUTHRXDfcEkZhjEZiLrG92HxHW7zHu5fEMea0TTkhYcSVkt QElJrlV29DvxpWQIyoPL7CI3iMQ78MqyobqxogWOSZOQ4K0D17WpkgGlksfhXIbIjRJf b+RA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b="t0re/AWP"; 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 z17si7886583eja.534.2020.12.20.18.58.18; Sun, 20 Dec 2020 18:58:44 -0800 (PST) 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; dkim=pass header.i=@fieldses.org header.s=default header.b="t0re/AWP"; 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 S1728510AbgLUC4P (ORCPT + 99 others); Sun, 20 Dec 2020 21:56:15 -0500 Received: from fieldses.org ([173.255.197.46]:51700 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726550AbgLUC4P (ORCPT ); Sun, 20 Dec 2020 21:56:15 -0500 X-Greylist: delayed 552 seconds by postgrey-1.27 at vger.kernel.org; Sun, 20 Dec 2020 21:56:15 EST Received: by fieldses.org (Postfix, from userid 2815) id 70E977B71; Sun, 20 Dec 2020 21:46:19 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 70E977B71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1608518779; bh=5JE9TJllW3bfzd8TtKpTM/aSWIBfxU6Che9CmbiwEvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t0re/AWPw4KF5LTGHYH4rPhMIDrf/IEP5uG0dN4CLrgA4Vux3e/OD2FKvarq7ar/r u7ymt+T2oCIWJhZjJV5Z/PAPHbxjtRCba6AI942UEMAEbPNVcSkzIvG7rDCOQniUuZ M6DnUx3DORFdt49toNfThyGo8BV3zVyTNMNf4384= Date: Sun, 20 Dec 2020 21:46:19 -0500 From: "J. Bruce Fields" To: Thomas Haynes Cc: Bruce Fields , Linux NFS Mailing list Subject: Re: [pynfs 03/10] Close the file for SEQ10b Message-ID: <20201221024619.GE24298@fieldses.org> References: <20201217003516.75438-1-loghyr@hammerspace.com> <20201217003516.75438-4-loghyr@hammerspace.com> <20201218164325.GD1258@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Sun, Dec 20, 2020 at 06:42:55PM -0800, Thomas Haynes wrote: > > > > On Dec 18, 2020, at 8:43 AM, J. Bruce Fields wrote: > > > > On Wed, Dec 16, 2020 at 04:35:09PM -0800, Tom Haynes wrote: > >> > >> close_file(sess1, fh, stateid=stateid) > >> > >> + # Cleanup > >> + res = sess1.compound([op.putfh(fh), op.close(0, stateid)]) > >> + check(res) > >> + > > > > This is giving me: > > > > SEQ10b st_sequence.testReplayCache007 : FAILURE > > OP_CLOSE should return NFS4_OK, instead got > > NFS4ERR_BAD_STATEID > > > > probably because the file was already closed just above. I'm not sure > > whta was intended here. Reverting for now. > > > > —b > > Ahh, that close is not there in the branch we have internally. And since git took the change, I thought it was still good. > > Backing out is cool. Oh, I see what happened, thanks for following up. --b.