linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Trond Myklebust <trond.myklebust@primarydata.com>
To: linux-nfs@vger.kernel.org
Subject: [PATCH 0/5] Fix callback channel handling of referring triples
Date: Sun, 28 Aug 2016 18:21:00 -0400	[thread overview]
Message-ID: <1472422865-28698-1-git-send-email-trond.myklebust@primarydata.com> (raw)

RFC5661 has a mechanism for ensuring that the forward channel and backward
channel do not race. The Linux client implements this mechanism, but in
a manner that is racy, making it rather pointless, and buggy (Oops!).

This patch series fixes the most egregious issues around delegations and
layouts by ensuring that we wait for completion of the actual setup of
the delegation or layout that could be subject to recall.

Trond Myklebust (5):
  NFSv4.1: Fix Oopsable condition in server callback races
  NFSv4.1: Delay callback processing when there are referring triples
  NFSv4.1: Defer bumping the slot sequence number until we free the slot
  NFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN
  NFSv4.1: Remove obsolete and incorrrect assignment in
    nfs4_callback_sequence

 fs/nfs/callback_proc.c |  8 ++---
 fs/nfs/nfs4proc.c      | 89 +++++++++++++++++++++++++++++++++++++++++---------
 fs/nfs/nfs4session.c   | 53 ++++++++++++++++++++++++++++++
 fs/nfs/nfs4session.h   |  7 +++-
 4 files changed, 135 insertions(+), 22 deletions(-)

-- 
2.7.4


             reply	other threads:[~2016-08-28 22:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-28 22:21 Trond Myklebust [this message]
2016-08-28 22:21 ` [PATCH 1/5] NFSv4.1: Fix Oopsable condition in server callback races Trond Myklebust
2016-08-28 22:21   ` [PATCH 2/5] NFSv4.1: Delay callback processing when there are referring triples Trond Myklebust
2016-08-28 22:21     ` [PATCH 3/5] NFSv4.1: Defer bumping the slot sequence number until we free the slot Trond Myklebust
2016-08-28 22:21       ` [PATCH 4/5] NFSv4.1: Close callback races for OPEN, LAYOUTGET and LAYOUTRETURN Trond Myklebust
2016-08-28 22:21         ` [PATCH 5/5] NFSv4.1: Remove obsolete and incorrrect assignment in nfs4_callback_sequence Trond Myklebust
2016-09-06 18:14 ` [PATCH 0/5] Fix callback channel handling of referring triples J. Bruce Fields
2016-09-06 18:16   ` Trond Myklebust

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=1472422865-28698-1-git-send-email-trond.myklebust@primarydata.com \
    --to=trond.myklebust@primarydata.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).