Extent buffer locking cleanups, part 1
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | btrfs: split btrfs_set_lock_blocking_rw to read and write helpersfs/ fs/ | +40 | 1 reply | |
| 2/6 | btrfs: split btrfs_clear_lock_blocking_rw to read and write helpersfs/ fs/ | +27 | 1 reply | |
| 3/6 | btrfs: replace btrfs_set_lock_blocking_rw with appropriate helpersfs/ fs/ fs/ +3 more | +11 | 1 reply | |
| 4/6 | btrfs: open code now trivial btrfs_set_lock_blockingfs/ fs/ fs/ +5 more | +28 | 1 reply | |
| 5/6 | btrfs: simplify waiting loop in btrfs_tree_lockfs/ | +2 | 1 reply | |
| 6/6 | btrfs: merge btrfs_set_lock_blocking_rw with it's callerfs/ fs/ | +10 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] Extent buffer locking cleanups, part 1
This series cleans up a few locking helpers, removes conditional switches by read/write type where not necessary and updates the callers. No changes expected, other than tiny speedups resulting from smaller code.
David Sterba (6):
btrfs: split btrfs_set_lock_blocking_rw to read and write helpers
btrfs: split btrfs_clear_lock_blocking_rw to read and write helpers
btrfs: replace btrfs_set_lock_blocking_rw with appropriate helpers
btrfs: open code now trivial btrfs_set_lock_blocking
btrfs: simplify waiting loop in btrfs_tree_lock
btrfs: merge btrfs_set_lock_blocking_rw with it's caller
fs/btrfs/backref.c | 4 +- fs/btrfs/ctree.c | 39 +++++++++------ fs/btrfs/disk-io.c | 4 +- fs/btrfs/extent-tree.c | 14 +++--- fs/btrfs/locking.c | 108 ++++++++++++++++++++--------------------- fs/btrfs/locking.h | 15 ++---- fs/btrfs/qgroup.c | 6 +-- fs/btrfs/ref-verify.c | 4 +- fs/btrfs/relocation.c | 8 +-- fs/btrfs/transaction.c | 2 +- fs/btrfs/tree-defrag.c | 2 +- fs/btrfs/tree-log.c | 6 +-- 12 files changed, 105 insertions(+), 107 deletions(-)
Signature · 1 line
2.20.1