From patchwork Wed Mar 28 22:28:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Filz X-Patchwork-Id: 10314271 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5FC0360325 for ; Wed, 28 Mar 2018 22:36:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 477692A034 for ; Wed, 28 Mar 2018 22:36:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C8102A036; Wed, 28 Mar 2018 22:36:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 961262A034 for ; Wed, 28 Mar 2018 22:36:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753848AbeC1WgM (ORCPT ); Wed, 28 Mar 2018 18:36:12 -0400 Received: from elasmtp-dupuy.atl.sa.earthlink.net ([209.86.89.62]:49052 "EHLO elasmtp-dupuy.atl.sa.earthlink.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753732AbeC1WgM (ORCPT ); Wed, 28 Mar 2018 18:36:12 -0400 X-Greylist: delayed 471 seconds by postgrey-1.27 at vger.kernel.org; Wed, 28 Mar 2018 18:36:11 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mindspring.com; s=dk12062016; t=1522276571; bh=jzRL1Z/lsM/lFTQFiF4mN6MEFOxhPvtnEjk7 VHgOeoA=; h=Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index: Content-Language:X-ELNK-Trace:X-Originating-IP; b=BvuwQyHluI3fppqe azQ2PruMbHhE7Xo1OQpY+ky665YHtHWoLJvvXWDNmDSIpOWBMZniM/9pRHSO1IqAyWz Ii1KqKg8MMV67fazPmC/BLLJRJw7eSzVeBA/rshfoocqifaQJOCN0srLVLzHnQK9wB1 zLb9jNUVcPXiivuGZkzh2ekDJu08+hWARdHoMRVGzxyZuADHsfvqBcbUTVX/KlSgbnC oj7+7Va7iDLZ9aMVDLRPxb04NbtMETtJK3U13KSW+XEtDL5fqY1ezjPZgUECt2VnRQz S0QvRwVRTsgp7G/40GazofbNJ5LPkI6OQIk0AC6qxM52j0IJCwTagGh36Q== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk12062016; d=mindspring.com; b=fnhmprLpGS+SdhfpC7Gnn0BR2yUbF6f7voSAlHWfcbbkbQPptJeXRGeukhLsS4Yt4zTI1jJckS6G003KZ84PozV3P7Ot5UEBiABvXaS4GahqBv729TvwBq9qD7OudVMrPxn5LwQ7vJ8WK2QhUzS0JWg3YTuoNJ35SEjrt9XJl2NzcdhHjmEWFWgShBhpJVSU6XqNhxUQc27k9wve6sD9x1m1qVjcO1IqZIA6qRMK6UcCDhXjf8DiBV5Dr8Dadd8b3a8mgh/ccpfq7rvQKLKavfF1geIgI8h+EgMqlSn0tDTL2xg7eo1QU6DD/7TpndOq5nPg6DGDqFQCJgjBiMa+2A==; h=Received:From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language:X-ELNK-Trace:X-Originating-IP; Received: from [67.170.185.135] (helo=FRANKSTHINKPAD) by elasmtp-dupuy.atl.sa.earthlink.net with esmtpa (Exim 4) (envelope-from ) id 1f1JYJ-0003dY-TW for linux-nfs@vger.kernel.org; Wed, 28 Mar 2018 18:28:20 -0400 From: "Frank Filz" To: Subject: [pynfs] [PATCH 1/3] Add required RECLAIM_COMPLETE ops for new clients in Date: Wed, 28 Mar 2018 15:28:20 -0700 Message-ID: <00e001d3c6e4$13ed2c70$3bc78550$@mindspring.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AdPG4/2YY3Z1u3yBQxqH0rnG+a0mbA== Content-Language: en-us X-ELNK-Trace: 136157f01908a8929c7f779228e2f6aeda0071232e20db4daaff7a3fead5b8880debed5c211cf2ad350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 67.170.185.135 Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Frank S. Filz --- nfs4.1/server41tests/st_destroy_session.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nfs4.1/server41tests/st_destroy_session.py b/nfs4.1/server41tests/st_destroy_session.py index 435ef4b..c247434 100644 --- a/nfs4.1/server41tests/st_destroy_session.py +++ b/nfs4.1/server41tests/st_destroy_session.py @@ -51,6 +51,7 @@ def testDestroy2(t, env): return res c = env.c1.new_client(env.testname(t)) sess1 = c.create_session() + sess1.compound([op.reclaim_complete(FALSE)]) res = c.c.compound([op.destroy_session(sess1.sessionid)]) sess2 = c.create_session() res = create_file(sess2, env.testname(t), @@ -63,6 +64,7 @@ def testDestroy2(t, env): fail("Could not get delegation") c2 = env.c1.new_client("%s_2" % env.testname(t)) sess3 = c2.create_session() + sess3.compound([op.reclaim_complete(FALSE)]) claim = open_claim4(CLAIM_NULL, env.testname(t)) owner = open_owner4(0, "My Open Owner 2") how = openflag4(OPEN4_NOCREATE) @@ -100,6 +102,7 @@ def testDestroy3(t, env): return res c = env.c1.new_client(env.testname(t)) sess1 = c.create_session() + sess1.compound([op.reclaim_complete(FALSE)]) res = create_file(sess1, env.testname(t), access=OPEN4_SHARE_ACCESS_READ | OPEN4_SHARE_ACCESS_WANT_READ_DELEG) @@ -112,6 +115,7 @@ def testDestroy3(t, env): recall.happened = False c2 = env.c1.new_client("%s_2" % env.testname(t)) sess2 = c2.create_session() + sess2.compound([op.reclaim_complete(FALSE)]) claim = open_claim4(CLAIM_NULL, env.testname(t)) owner = open_owner4(0, "My Open Owner 2") how = openflag4(OPEN4_NOCREATE)