Skip to content

dcache: get/release read lock in read_seqbegin_or_lock() & friend

Waiman Long linux-fsdevel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 8 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Rename the new seqlock primitives to read_seqexcl_lock* and read_seqexcl_unlock*.
- Clarify in the commit log and comments about the exclusive nature of the read lock.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2seqlock: Add a new locking reader typeinclude/linux/seqlock.h+63 -50 replies
2/2dcache: get/release read lock in read_seqbegin_or_lock() & friendfs/dcache.c+16 -150 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH 0/2 v2] dcache: get/release read lock in read_seqbegin_or_lock() & friend

Change log
----------
v1->v2:
- Rename the new seqlock primitives to read_seqexcl_lock* and read_seqexcl_unlock*.
- Clarify in the commit log and comments about the exclusive nature of the read lock.

Waiman Long (2):
seqlock: Add a new locking reader type
dcache: get/release read lock in read_seqbegin_or_lock() & friend

 fs/dcache.c             |   31 +++++++++++----------
 include/linux/seqlock.h |   68 +++++++++++++++++++++++++++++++++++++++++++---
 2 files changed, 79 insertions(+), 20 deletions(-)