From: bfields@fieldses.org (J. Bruce Fields)
To: Jeff Layton <jlayton@kernel.org>
Cc: bfields@fieldses.net, linux-nfs@vger.kernel.org
Subject: Re: [pynfs PATCH] nfs4.1: clean up the session and client created in Environment.init()
Date: Fri, 15 Mar 2019 14:11:46 -0400 [thread overview]
Message-ID: <20190315181146.GA13347@fieldses.org> (raw)
In-Reply-To: <20190314185641.1048-1-jlayton@kernel.org>
On Thu, Mar 14, 2019 at 02:56:41PM -0400, Jeff Layton wrote:
> Once we've returned from this function the session and client will be
> abandoned on the server. Clean them up since we're finished with them
> at this point.
Thanks, applied.--b.
>
> Signed-off-by: Jeff Layton <jlayton@kernel.org>
> ---
> nfs4.1/server41tests/environment.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/nfs4.1/server41tests/environment.py b/nfs4.1/server41tests/environment.py
> index 0ce6943b19a5..bdfd52d3a171 100644
> --- a/nfs4.1/server41tests/environment.py
> +++ b/nfs4.1/server41tests/environment.py
> @@ -156,6 +156,8 @@ class Environment(testmod.Environment):
> # Make sure it is empty
> clean_dir(sess, self.opts.home)
> sess.c.null()
> + self.clean_sessions()
> + self.clean_clients()
>
> def _maketree(self, sess):
> """Make test tree"""
> --
> 2.20.1
prev parent reply other threads:[~2019-03-15 18:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 18:56 [pynfs PATCH] nfs4.1: clean up the session and client created in Environment.init() Jeff Layton
2019-03-15 18:11 ` 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=20190315181146.GA13347@fieldses.org \
--to=bfields@fieldses.org \
--cc=bfields@fieldses.net \
--cc=jlayton@kernel.org \
--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