From: "J. Bruce Fields" <bfields@fieldses.org>
To: Trond Myklebust <trond@netapp.com>
Cc: linux-nfs@vger.kernel.org
Subject: 4.1 client reconnect bug
Date: Mon, 17 Oct 2011 17:04:08 -0400 [thread overview]
Message-ID: <20111017210408.GA13368@fieldses.org> (raw)
Following up on a pub conversation from a couple weeks ago:
The client apparently assumes that (in the absence of state protection)
sending a SEQUENCE over a new tcp connection to the server automatically
associates the new tcp connection with both the forechannel and
backchannel of the session.
The server currently assumes that the new tcp connection should be
associated only with the forechannel.
RFC 5661 sides with the forechannel-only convention:
- 2.6.10.6.2: "If the client wants to use additional connections
for the backchannel, then it needs to call
BIND_CONN_TO_SESSION on each connection it wants to use with
the session."
- 2.10.13.1.2: "If the connection that was lost was the last one
associated with the backchannel, and the client wants to
retain the backchannel and/or prevent revocation of recallable
state, the client needs to reconnect, and if it does, it MUST
associate the connection to the session and backchannel via
BIND_CONN_TO_SESSION."
- 18.34.3: "If, when the client ID was created, the client opted
for SP4_NONE state protection, the client is not required to
use BIND_CONN_TO_SESSION to associate the connection with the
session, unless the client wishes to associate the connection
with the backchannel."
That means that currently if the client attempts to reconnect (e.g. to
resend a timed-out rpc), it will see SEQ4_STATUS_CB_PATH_DOWN_SESSION
set on future SEQUENCE replies.
--b.
next reply other threads:[~2011-10-17 21:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-17 21:04 J. Bruce Fields [this message]
2011-10-17 21:57 ` 4.1 client reconnect bug Trond Myklebust
2011-10-17 21:59 ` 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=20111017210408.GA13368@fieldses.org \
--to=bfields@fieldses.org \
--cc=linux-nfs@vger.kernel.org \
--cc=trond@netapp.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 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).