]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
removed queue-3.10/nfs-use-raw_write_seqcount_begin-end-int-nfs4_reclaim_open_state...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Jul 2014 23:42:26 +0000 (16:42 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Jul 2014 23:42:26 +0000 (16:42 -0700)
queue-3.10/nfs-use-raw_write_seqcount_begin-end-int-nfs4_reclaim_open_state.patch [deleted file]
queue-3.10/series

diff --git a/queue-3.10/nfs-use-raw_write_seqcount_begin-end-int-nfs4_reclaim_open_state.patch b/queue-3.10/nfs-use-raw_write_seqcount_begin-end-int-nfs4_reclaim_open_state.patch
deleted file mode 100644 (file)
index eeb3b6b..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-From abbec2da13f0e4c5d9b78b7e2c025a3e617228ba Mon Sep 17 00:00:00 2001
-From: Trond Myklebust <trond.myklebust@primarydata.com>
-Date: Thu, 5 Jun 2014 10:42:37 -0400
-Subject: NFS: Use raw_write_seqcount_begin/end int nfs4_reclaim_open_state
-
-From: Trond Myklebust <trond.myklebust@primarydata.com>
-
-commit abbec2da13f0e4c5d9b78b7e2c025a3e617228ba upstream.
-
-The addition of lockdep code to write_seqcount_begin/end has lead to
-a bunch of false positive claims of ABBA deadlocks with the so_lock
-spinlock. Audits show that this simply cannot happen because the
-read side code does not spin while holding so_lock.
-
-Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- fs/nfs/nfs4state.c |    6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
---- a/fs/nfs/nfs4state.c
-+++ b/fs/nfs/nfs4state.c
-@@ -1428,7 +1428,7 @@ static int nfs4_reclaim_open_state(struc
-        * server that doesn't support a grace period.
-        */
-       spin_lock(&sp->so_lock);
--      write_seqcount_begin(&sp->so_reclaim_seqcount);
-+      raw_write_seqcount_begin(&sp->so_reclaim_seqcount);
- restart:
-       list_for_each_entry(state, &sp->so_states, open_states) {
-               if (!test_and_clear_bit(ops->state_flag_bit, &state->flags))
-@@ -1492,13 +1492,13 @@ restart:
-               spin_lock(&sp->so_lock);
-               goto restart;
-       }
--      write_seqcount_end(&sp->so_reclaim_seqcount);
-+      raw_write_seqcount_end(&sp->so_reclaim_seqcount);
-       spin_unlock(&sp->so_lock);
-       return 0;
- out_err:
-       nfs4_put_open_state(state);
-       spin_lock(&sp->so_lock);
--      write_seqcount_end(&sp->so_reclaim_seqcount);
-+      raw_write_seqcount_end(&sp->so_reclaim_seqcount);
-       spin_unlock(&sp->so_lock);
-       return status;
- }
index e055ecab885506ba5897619da96ea20c014b7873..96ccb58972dd251f34d5a1431a6407f1218bb347 100644 (file)
@@ -24,6 +24,5 @@ pnfs-handle-allocation-errors-correctly-in-filelayout_alloc_layout_hdr.patch
 nfsd4-fix-free_stateid-lockowner-leak.patch
 nfsd-getattr-for-fattr4_word0_files_avail-needs-the-statfs-buffer.patch
 nfs-don-t-declare-inode-uptodate-unless-all-attributes-were-checked.patch
-nfs-use-raw_write_seqcount_begin-end-int-nfs4_reclaim_open_state.patch
 nfsd-don-t-try-to-reuse-an-expired-drc-entry-off-the-list.patch
 nfsd-don-t-halt-scanning-the-drc-lru-list-when-there-s-an-rc_inprog-entry.patch