Skip to content

Extent buffer lock cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: switch extent_buffer blocking_writers from atomic to intfs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/locking.c +1 more+23 -291 reply
2/3btrfs: switch extent_buffer spinning_writers from atomic to intfs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/locking.c +1 more+8 -82 replies
3/3btrfs: switch extent_buffer write_locks from atomic to intfs/btrfs/extent_io.c fs/btrfs/extent_io.h fs/btrfs/locking.c +1 more+6 -61 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNikolay Borisov
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Extent buffer lock cleanups

There are 3 atomics that don't need to be, all related to writes where the exclusivity is guaranteed by the lock.

David Sterba (3):
btrfs: switch extent_buffer blocking_writers from atomic to int
btrfs: switch extent_buffer spinning_writers from atomic to int
btrfs: switch extent_buffer write_locks from atomic to int

 fs/btrfs/extent_io.c  |  6 ++---
 fs/btrfs/extent_io.h  |  6 ++---
 fs/btrfs/locking.c    | 62 +++++++++++++++++++------------------------
 fs/btrfs/print-tree.c |  6 ++---
 4 files changed, 37 insertions(+), 43 deletions(-)
Signature · 1 line
2.21.0