All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Eliminate race between LOCK and FREE_STATEID
@ 2016-08-11 14:37 Chuck Lever
  2016-08-11 14:37 ` [PATCH v4 1/2] nfsd: Fix race between FREE_STATEID and LOCK Chuck Lever
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Chuck Lever @ 2016-08-11 14:37 UTC (permalink / raw)
  To: bfields; +Cc: linux-nfs

Hi Bruce-

IMO this series is both safe and effective and thus is ready to merge.

Alexey reports:

@ All 500 nfslock test runs passed, also run other related NFS tests with 
@ different configurations, as a result they passed as well. 


Changes since v3:
- Add Tested-by tags

Changes since v2:
- Move NFS4_LOCK_STID arm into a helper, for clarity
- Add more detail to patch description
- Add Jeff's patch to fix similar race in nfsd4_lock

Changes since v1:
- Use s->sc_count to preserve stateid while cl_lock is dropped

---

Chuck Lever (1):
      nfsd: Fix race between FREE_STATEID and LOCK

Jeff Layton (1):
      nfsd: don't return an unhashed lock stateid after taking mutex


 fs/nfsd/nfs4state.c |   65 ++++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 48 insertions(+), 17 deletions(-)

--
Chuck Lever

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

end of thread, other threads:[~2016-08-11 20:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-11 14:37 [PATCH v4 0/2] Eliminate race between LOCK and FREE_STATEID Chuck Lever
2016-08-11 14:37 ` [PATCH v4 1/2] nfsd: Fix race between FREE_STATEID and LOCK Chuck Lever
2016-08-11 14:37 ` [PATCH v4 2/2] nfsd: don't return an unhashed lock stateid after taking mutex Chuck Lever
2016-08-11 19:57 ` [PATCH v4 0/2] Eliminate race between LOCK and FREE_STATEID J. Bruce Fields
2016-08-11 20:00   ` Chuck Lever

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.