btrfs: optimize btree insertions and some cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | btrfs: allow generic_bin_search() to take low boundary as an argumentfs/ | +23 | 0 replies | |
| 2/6 | btrfs: try to unlock parent nodes earlier when inserting a keyfs/ | +118 | 0 replies | |
| 3/6 | btrfs: remove useless condition check before splitting leaffs/ | +1 | 0 replies | |
| 4/6 | btrfs: move leaf search logic out of btrfs_search_slot()fs/ | +128 | 0 replies | |
| 5/6 | btrfs: remove BUG_ON() after splitting leaffs/ | +3 | 0 replies | |
| 6/6 | btrfs: remove stale comment about locking at btrfs_search_slot()fs/ | +0 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Josef Bacik |
|---|---|
| Series | R-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] btrfs: optimize btree insertions and some cleanups
From: Filipe Manana <[email protected]>
This patchset optimizes btree insertions to allow better parallelism, by having insertions unlocking upper level nodes sooner and avoid blocking other tasks, or reduce the time they are blocked, that want to use the same nodes. The optimization is in patch 2/6, patch 1/6 is preparation for it, and the rest are just cleanups or removing stale code and comments.
Filipe Manana (6):
btrfs: allow generic_bin_search() to take low boundary as an argument
btrfs: try to unlock parent nodes earlier when inserting a key
btrfs: remove useless condition check before splitting leaf
btrfs: move leaf search logic out of btrfs_search_slot()
btrfs: remove BUG_ON() after splitting leaf
btrfs: remove stale comment about locking at btrfs_search_slot()
fs/btrfs/ctree.c | 254 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 181 insertions(+), 73 deletions(-)
Signature · 1 line
2.33.0