From: Trond Myklebust <trondmy@hammerspace.com>
To: "olga.kornievskaia@gmail.com" <olga.kornievskaia@gmail.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>,
"anna.schumaker@netapp.com" <anna.schumaker@netapp.com>
Subject: Re: [PATCH 1/1] NFSv4.1: fix lone sequence transport assignment
Date: Mon, 20 Apr 2020 19:02:07 +0000 [thread overview]
Message-ID: <2e691fb93a4b6d362cdfd85feaaa9cfbfc68709c.camel@hammerspace.com> (raw)
In-Reply-To: <CAN-5tyFLusaQbzw2uN9DUtytrWsuQrrYGz44X=Cvj1WS=gD=Hg@mail.gmail.com>
On Mon, 2020-04-20 at 10:59 -0400, Olga Kornievskaia wrote:
>
>
> On Mon, Apr 20, 2020 at 10:53 AM Olga Kornievskaia <
> olga.kornievskaia@gmail.com> wrote:
> >
> > Yes we are consistent in requesting to same connection to with the
> > same channel binding, but we don't send BIND_CONN_TO_SESSION as the
> > first thing on the "main" connection (ie connection that cared the
> > CREATE_SESSION and was bound to fore and back channel by default).
> > When that connection is reset, the first thing that happens is the
> > client re-sends the operation that was not replied to. That has a
> > SEQUENCE and by the rule the server binds that connection to the
> > fore channel only (and sets the callback being down). We then send
> > BIND_CONN_TO_SESSION and request FORE_OR_BOTH where this has
> > already been bound to FORE only.
> >
>
>
> How about this: before we send BIND_CONN_TO_SESSION with
> fore_or_both, we somehow always reset the connection (maybe you were
> suggestion that already and i wasn't following).
No. I didn't realise that we were being automatically set to just the
fore channel. However as I said earlier, the spec says that the server
MUST reply with NFS4ERR_INVAL in this case. It is not allowed to just
return NFS4_OK and silently set the wrong channel binding.
On the client we should probably do something to track whether or not
the backchannel has been lost due to connection breakage. We probably
need to allow the client to check the xprt->connect_cookie to find out
if the connection broke.
> i don't think this is going to the list as i'm getting auto
> rejections emails but i don't know how to fix it.
You need to turn off HTML mail.
--
Trond Myklebust
Linux NFS client maintainer, Hammerspace
trond.myklebust@hammerspace.com
next prev parent reply other threads:[~2020-04-20 19:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 15:15 [PATCH 1/1] NFSv4.1: fix lone sequence transport assignment Olga Kornievskaia
2020-04-17 15:31 ` Trond Myklebust
2020-04-17 15:43 ` Olga Kornievskaia
2020-04-17 16:20 ` Trond Myklebust
2020-04-17 16:46 ` Olga Kornievskaia
2020-04-17 16:53 ` Trond Myklebust
2020-04-17 18:08 ` Olga Kornievskaia
2020-04-17 18:41 ` Trond Myklebust
2020-04-17 19:06 ` Olga Kornievskaia
2020-04-17 19:24 ` Trond Myklebust
[not found] ` <CAN-5tyFjohv0YQOgtsoxcqL+eUxNXGRZOfd5zOvm_8nCOnJhJg@mail.gmail.com>
2020-04-20 14:11 ` Trond Myklebust
[not found] ` <CAN-5tyFJQiG6osJ-gW-XHpQZm9SE0oJumRRfTTYkk-dEqDrYcg@mail.gmail.com>
[not found] ` <CAN-5tyFLusaQbzw2uN9DUtytrWsuQrrYGz44X=Cvj1WS=gD=Hg@mail.gmail.com>
2020-04-20 19:02 ` Trond Myklebust [this message]
2020-04-20 19:35 ` Olga Kornievskaia
2020-04-20 21:20 ` Trond Myklebust
2020-04-21 19:47 ` Olga Kornievskaia
2020-04-21 21:20 ` Trond Myklebust
2020-04-23 21:33 ` Olga Kornievskaia
2020-04-23 21:57 ` Trond Myklebust
2020-04-27 22:07 ` 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=2e691fb93a4b6d362cdfd85feaaa9cfbfc68709c.camel@hammerspace.com \
--to=trondmy@hammerspace.com \
--cc=anna.schumaker@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=olga.kornievskaia@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.