Skip to content

Btrfs lockdep and locking cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6btrfs: use lockdep_assert_held for spinlocksfs/btrfs/delayed-ref.c fs/btrfs/qgroup.c+4 -40 replies
2/6btrfs: use lockdep_assert_held for mutexesfs/btrfs/extent-tree.c fs/btrfs/scrub.c fs/btrfs/volumes.c+8 -80 replies
3/6btrfs: update barrier in should_cow_blockfs/btrfs/ctree.c+2 -20 replies
4/6btrfs: use RCU in btrfs_show_devname for device list traversalfs/btrfs/super.c+10 -51 reply
5/6btrfs: remove stale comments about fs_mutexfs/btrfs/acl.c+0 -80 replies
6/6btrfs: split dev-replace locking helpers for read and writefs/btrfs/dev-replace.c fs/btrfs/dev-replace.h fs/btrfs/reada.c +2 more+74 -720 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchAnand Jain
1/6
2/6
3/6
4/6R-b
5/6
6/6

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/6] Btrfs lockdep and locking cleanups

A few cleanups related to lockdep and locking. The btrfs_show_devname is a functional change, uses the same mechanism as btrfs_ioctl_dev_info or btrfs_ioctl_fs_info so that's not a new thing.

David Sterba (6):
btrfs: use lockdep_assert_held for spinlocks
btrfs: use lockdep_assert_held for mutexes
btrfs: update barrier in should_cow_block
btrfs: use RCU in btrfs_show_devname for device list traversal
btrfs: remove stale comments about fs_mutex
btrfs: split dev-replace locking helpers for read and write

 fs/btrfs/acl.c         |  8 -----
 fs/btrfs/ctree.c       |  4 +--
 fs/btrfs/delayed-ref.c |  6 ++--
 fs/btrfs/dev-replace.c | 98 +++++++++++++++++++++++++-------------------------
 fs/btrfs/dev-replace.h |  6 ++--
 fs/btrfs/extent-tree.c |  2 +-
 fs/btrfs/qgroup.c      |  2 +-
 fs/btrfs/reada.c       | 10 +++---
 fs/btrfs/scrub.c       | 18 +++++-----
 fs/btrfs/super.c       | 15 +++++---
 fs/btrfs/volumes.c     | 28 +++++++--------
 11 files changed, 98 insertions(+), 99 deletions(-)
Signature · 1 line
2.16.2