From: bfields@fieldses.org (J. Bruce Fields)
To: Frank Filz <ffilzlnx@mindspring.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [pynfs] [PATCH 1/3] Add required RECLAIM_COMPLETE ops for new clients in
Date: Thu, 29 Mar 2018 15:00:23 -0400 [thread overview]
Message-ID: <20180329190023.GA20325@fieldses.org> (raw)
In-Reply-To: <00e001d3c6e4$13ed2c70$3bc78550$@mindspring.com>
Thanks, applying.
(But it might be simpler to use new_client_session.)
--b.
On Wed, Mar 28, 2018 at 03:28:20PM -0700, Frank Filz wrote:
> 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
>
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2018-03-29 19:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-28 22:28 [pynfs] [PATCH 1/3] Add required RECLAIM_COMPLETE ops for new clients in Frank Filz
2018-03-29 19:00 ` J. Bruce Fields [this message]
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=20180329190023.GA20325@fieldses.org \
--to=bfields@fieldses.org \
--cc=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).