linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: andros@netapp.com
To: trond.myklebust@netapp.com
Cc: linux-nfs@vger.kernel.org, Andy Adamson <andros@netapp.com>
Subject: [PATCH 0/2]  NFSv4.1: Fix a NFSv4.1 session initialisation regression
Date: Fri, 17 Feb 2012 13:05:21 -0500	[thread overview]
Message-ID: <1329501923-3999-1-git-send-email-andros@netapp.com> (raw)

From: Andy Adamson <andros@netapp.com>

Tronds patch to fix the regression with one change - the slot table 
highest_used_slotid needs to be initialized in nfs4_alloc_session so that
nfs41_init_clientid doesn't wait forever in nfs4_wait_on_slot_tbl  (called
by nfs4_begin_drain_session).

Also a patch to use NFS4_NO_SLOT in nfs4_wait_on_slot_tbl.

Tested CB_RECALL_SLOT and session reset using pynfs. Passed Cthon tests
against Linux NFSv4.1 server.

Compiled against Trond's 3.3-rc2 nfs-for-next tree.

Andy Adamson (1):
  NFSv4.1 set highest_used_slotid to NFS4_NO_SLOT

Trond Myklebust (1):
  NFSv4.1: Fix a NFSv4.1 session initialisation regression

 fs/nfs/nfs4proc.c  |  111 ++++++++++++++++++++-------------------------------
 fs/nfs/nfs4state.c |    2 +-
 2 files changed, 45 insertions(+), 68 deletions(-)

-- 
1.7.6.4


             reply	other threads:[~2012-02-17 18:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17 18:05 andros [this message]
2012-02-17 18:05 ` [PATCH 1/2] NFSv4.1: Fix a NFSv4.1 session initialisation regression andros
2012-02-17 18:05 ` [PATCH 2/2] NFSv4.1 set highest_used_slotid to NFS4_NO_SLOT andros
2012-02-17 18:40   ` Myklebust, Trond

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=1329501923-3999-1-git-send-email-andros@netapp.com \
    --to=andros@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@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).