linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Fix callback channel handling of referring triples
@ 2016-08-28 22:21 Trond Myklebust
  2016-08-28 22:21 ` [PATCH 1/5] NFSv4.1: Fix Oopsable condition in server callback races Trond Myklebust
  2016-09-06 18:14 ` [PATCH 0/5] Fix callback channel handling of referring triples J. Bruce Fields
  0 siblings, 2 replies; 8+ messages in thread
From: Trond Myklebust @ 2016-08-28 22:21 UTC (permalink / raw)
  To: linux-nfs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-06 18:16 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-28 22:21 [PATCH 0/5] Fix callback channel handling of referring triples Trond Myklebust
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

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).