From: "J. Bruce Fields" <bfields@fieldses.org>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfs4.1: check whether old session is discard for EID5f
Date: Mon, 6 Jan 2014 15:42:46 -0500 [thread overview]
Message-ID: <20140106204246.GF31764@fieldses.org> (raw)
In-Reply-To: <52B8F86A.1040509@gmail.com>
On Tue, Dec 24, 2013 at 10:58:50AM +0800, Kinglong Mee wrote:
>
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Applied and pushed out with the previous pynfs patch; let me know if you
see anything missing in my pynfs repo.
--b.
> ---
> nfs4.1/server41tests/st_exchange_id.py | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/nfs4.1/server41tests/st_exchange_id.py b/nfs4.1/server41tests/st_exchange_id.py
> index c31af95..d2c0c97 100644
> --- a/nfs4.1/server41tests/st_exchange_id.py
> +++ b/nfs4.1/server41tests/st_exchange_id.py
> @@ -244,7 +244,12 @@ def testNoUpdate101(t, env):
> # Old session state should not be discarded until confirm:
> res = sess1.compound([])
> check(res)
> - # FIXME - more checks here
> +
> + # Old session state should be discarded after confirm:
> + sess2 = c2.create_session()
> + check(res)
> + res = sess1.compound([])
> + check(res, NFS4ERR_BADSESSION)
>
> def testNoUpdate101b(t, env):
> """
> --
> 1.8.4.2
prev parent reply other threads:[~2014-01-06 20:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-24 2:58 [PATCH] nfs4.1: check whether old session is discard for EID5f Kinglong Mee
2014-01-06 20:42 ` 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=20140106204246.GF31764@fieldses.org \
--to=bfields@fieldses.org \
--cc=kinglongmee@gmail.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).