btrfs: convert delayed head refs to xarray and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | btrfs: remove BUG_ON() at btrfs_destroy_delayed_refs()fs/ | +24 | 0 replies | |
| 2/18 | btrfs: move btrfs_destroy_delayed_refs() to delayed-ref.cfs/ fs/ fs/ | +83 | 0 replies | |
| 3/18 | btrfs: remove fs_info parameter from btrfs_destroy_delayed_refs()fs/ fs/ fs/ | +4 | 0 replies | |
| 4/18 | btrfs: remove fs_info parameter from btrfs_cleanup_one_transaction()fs/ fs/ fs/ | +6 | 0 replies | |
| 5/18 | btrfs: remove duplicated code to drop delayed ref during transaction abortfs/ | +1 | 0 replies | |
| 6/18 | btrfs: use helper to find first ref head at btrfs_destroy_delayed_refs()fs/ | +5 | 0 replies | |
| 7/18 | btrfs: remove num_entries atomic counter from delayed ref rootfs/ fs/ fs/ +1 more | +0 | 0 replies | |
| 8/18 | btrfs: change return type of btrfs_delayed_ref_lock() to booleanfs/ fs/ fs/ | +11 | 0 replies | |
| 9/18 | btrfs: simplify obtaining a delayed ref headfs/ fs/ fs/ | +23 | 0 replies | |
| 10/18 | btrfs: move delayed ref head unselection to delayed-ref.cfs/ fs/ fs/ | +15 | 0 replies | |
| 11/18 | btrfs: pass fs_info to functions that search for delayed ref headsfs/ fs/ fs/ +1 more | +18 | 0 replies | |
| 12/18 | btrfs: pass fs_info to btrfs_cleanup_ref_head_accountingfs/ fs/ fs/ | +10 | 0 replies | |
| 13/18 | btrfs: assert delayed refs lock is held at find_ref_head()fs/ | +2 | 0 replies | |
| 14/18 | btrfs: assert delayed refs lock is held at find_first_ref_head()fs/ | +2 | 0 replies | |
| 15/18 | btrfs: assert delayed refs lock is held at add_delayed_ref_head()fs/ | +1 | 0 replies | |
| 16/18 | btrfs: add comments regarding locking to struct btrfs_delayed_ref_rootfs/ | +17 | 0 replies | |
| 17/18 | btrfs: track delayed ref heads in an xarrayfs/ fs/ fs/ +1 more | +106 | 3 replies | |
| 18/18 | btrfs: remove no longer used delayed ref head search functionalityfs/ | +5 | 0 replies |
Reviews trailers per patch
None of the 18 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Boris Burkov | David Sterba | Qu Wenruo |
|---|---|---|---|
| Series | R-b | R-b | R-b |
| 1/18 | |||
| 2/18 | |||
| 3/18 | |||
| 4/18 | |||
| 5/18 | |||
| 6/18 | |||
| 7/18 | |||
| 8/18 | |||
| 9/18 | |||
| 10/18 | |||
| 11/18 | |||
| 12/18 | |||
| 13/18 | |||
| 14/18 | |||
| 15/18 | |||
| 16/18 | |||
| 17/18 | |||
| 18/18 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH 00/18] btrfs: convert delayed head refs to xarray and cleanups
From: Filipe Manana <[email protected]>
This converts the rb-tree that tracks delayed ref heads into an xarray, reducing memory used by delayed ref heads and making it more efficient to add/remove/find delayed ref heads. The rest are mostly cleanups and refactorings, removing some dead code, deduplicating code, move code around, etc. More details in the changelogs.
Filipe Manana (18):
btrfs: remove BUG_ON() at btrfs_destroy_delayed_refs()
btrfs: move btrfs_destroy_delayed_refs() to delayed-ref.c
btrfs: remove fs_info parameter from btrfs_destroy_delayed_refs()
btrfs: remove fs_info parameter from btrfs_cleanup_one_transaction()
btrfs: remove duplicated code to drop delayed ref during transaction abort
btrfs: use helper to find first ref head at btrfs_destroy_delayed_refs()
btrfs: remove num_entries atomic counter from delayed ref root
btrfs: change return type of btrfs_delayed_ref_lock() to boolean
btrfs: simplify obtaining a delayed ref head
btrfs: move delayed ref head unselection to delayed-ref.c
btrfs: pass fs_info to functions that search for delayed ref heads
btrfs: pass fs_info to btrfs_cleanup_ref_head_accounting
btrfs: assert delayed refs lock is held at find_ref_head()
btrfs: assert delayed refs lock is held at find_first_ref_head()
btrfs: assert delayed refs lock is held at add_delayed_ref_head()
btrfs: add comments regarding locking to struct btrfs_delayed_ref_root
btrfs: track delayed ref heads in an xarray
btrfs: remove no longer used delayed ref head search functionality
fs/btrfs/backref.c | 3 +- fs/btrfs/delayed-ref.c | 319 +++++++++++++++++++++++++---------------- fs/btrfs/delayed-ref.h | 61 +++++--- fs/btrfs/disk-io.c | 79 +--------- fs/btrfs/disk-io.h | 3 +- fs/btrfs/extent-tree.c | 69 ++------- fs/btrfs/transaction.c | 8 +- 7 files changed, 256 insertions(+), 286 deletions(-)
Signature · 1 line
2.43.0