Locking cleanups and lockdep fix
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: cleanup the locking in btrfs_next_old_leaffs/ | +4 | 1 reply | |
| 2/8 | btrfs: unlock to current level in btrfs_next_old_leaffs/ | +17 | 1 reply | |
| 3/8 | btrfs: kill path->recursefs/ fs/ | +2 | 1 reply | |
| 4/8 | btrfs: remove the recursion handling code in locking.cfs/ | +2 | 5 replies | |
| 5/8 | btrfs: remove __btrfs_read_lock_root_nodefs/ fs/ fs/ | +4 | 1 reply | |
| 6/8 | btrfs: use btrfs_tree_read_lock in btrfs_search_slotfs/ | +1 | 1 reply | |
| 7/8 | btrfs: remove the recurse parameter from __btrfs_tree_read_lockfs/ fs/ | +3 | 1 reply | |
| 8/8 | btrfs: remove ->recursed from extent_bufferfs/ fs/ | +0 | 1 reply |
Reviews trailers per patch
All 8 patches have a Reviewed-by or Acked-by.
| Patch | Filipe Manana |
|---|---|
| 1/8 | R-b |
| 2/8 | R-b |
| 3/8 | R-b |
| 4/8 | R-b |
| 5/8 | R-b |
| 6/8 | R-b |
| 7/8 | R-b |
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] Locking cleanups and lockdep fix
Hello,
Filipe reported a lockdep splat that he hit on btrfs/187, but honestly could be hit anywhere we do readdir on a sufficiently large fs. Fixing this is fairly straightforward, but enabled me to do a lot of extra cleanups, especially now that my other locking fixes have been merged. The first two patches are to address the lockdep problem. The followup patches are cleaning out the recursive locking support, which we no longer require. I would have separated this work, but btrfs_next_old_leaf was a heavy user of this, so it would be annoying to take separately, hence putting it all together. Thanks,
Josef
Josef Bacik (8):
btrfs: cleanup the locking in btrfs_next_old_leaf
btrfs: unlock to current level in btrfs_next_old_leaf
btrfs: kill path->recurse
btrfs: remove the recursion handling code in locking.c
btrfs: remove __btrfs_read_lock_root_node
btrfs: use btrfs_tree_read_lock in btrfs_search_slot
btrfs: remove the recurse parameter from __btrfs_tree_read_lock
btrfs: remove ->recursed from extent_buffer
fs/btrfs/ctree.c | 47 +++++++++++++---------------- fs/btrfs/ctree.h | 1 - fs/btrfs/extent_io.c | 1 - fs/btrfs/extent_io.h | 1 - fs/btrfs/locking.c | 72 +++----------------------------------------- fs/btrfs/locking.h | 11 ++----- 6 files changed, 28 insertions(+), 105 deletions(-)
Signature · 1 line
2.26.2