btrfs: some delayed refs optimizations and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 3 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/11] btrfs: some delayed refs optimizations and cleanups
From: Filipe Manana <[email protected]>
This brings an optimization for delayed ref heads and several cleanups. These come out while doing some other work around delayed refs, but as these are independent of that other work, and trivial, I'm sending these out separately. More details on the changelogs.
Filipe Manana (11):
btrfs: reorder some members of struct btrfs_delayed_ref_head
btrfs: remove unused is_head field from struct btrfs_delayed_ref_node
btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_node
btrfs: use a bool to track qgroup record insertion when adding ref head
btrfs: make insert_delayed_ref() return a bool instead of an int
btrfs: get rid of label and goto at insert_delayed_ref()
btrfs: assert correct lock is held at btrfs_select_ref_head()
btrfs: use bool type for delayed ref head fields that are used as booleans
btrfs: use a single switch statement when initializing delayed ref head
btrfs: remove unnecessary prototype declarations at disk-io.c
btrfs: make btrfs_destroy_delayed_refs() return void
fs/btrfs/delayed-ref.c | 110 ++++++++++++++++++++--------------------- fs/btrfs/delayed-ref.h | 25 +++++----- fs/btrfs/disk-io.c | 19 ++----- fs/btrfs/extent-tree.c | 11 ++--- 4 files changed, 77 insertions(+), 88 deletions(-)
Signature · 1 line
2.34.1