linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Frank Filz" <ffilzlnx@mindspring.com>
To: <linux-nfs@vger.kernel.org>
Subject: [pynfs] [PATCH 1/3] Add required RECLAIM_COMPLETE ops for new clients in
Date: Wed, 28 Mar 2018 15:28:20 -0700	[thread overview]
Message-ID: <00e001d3c6e4$13ed2c70$3bc78550$@mindspring.com> (raw)

Signed-off-by: Frank S. Filz <ffilzlnx@mindspring.com>
---
 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)
-- 
2.5.5





             reply	other threads:[~2018-03-28 22:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-28 22:28 Frank Filz [this message]
2018-03-29 19:00 ` [pynfs] [PATCH 1/3] Add required RECLAIM_COMPLETE ops for new clients in J. Bruce Fields

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00e001d3c6e4$13ed2c70$3bc78550$@mindspring.com' \
    --to=ffilzlnx@mindspring.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).