Skip to content

btrfs: some optimizations and cleanups for io trees

[email protected] linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11btrfs: optimize clearing all bits from the last extent record in an io treefs/btrfs/extent-io-tree.c+39 -00 replies
2/11btrfs: turn extent_io_tree_panic() into a macro for better error reportingfs/btrfs/extent-io-tree.c+4 -90 replies
3/11btrfs: tag as unlikely branches that call extent_io_tree_panic()fs/btrfs/extent-io-tree.c+6 -60 replies
4/11btrfs: make add_extent_changeset() only return errors or successfs/btrfs/extent-io-tree.c+6 -20 replies
5/11btrfs: use extent_io_tree_panic() instead of BUG_ON()fs/btrfs/extent-io-tree.c+4 -20 replies
6/11btrfs: change last argument of add_extent_changeset() to booleanfs/btrfs/extent-io-tree.c+4 -40 replies
7/11btrfs: remove wake parameter from clear_state_bit()fs/btrfs/extent-io-tree.c+9 -100 replies
8/11btrfs: avoid unnecessary wake ups on io trees when there are no waitersfs/btrfs/extent-io-tree.c+21 -80 replies
9/11btrfs: free cached state outside critical section in wait_extent_bit()fs/btrfs/extent-io-tree.c+1 -10 replies
10/11btrfs: panic instead of warn when splitting extent state not in the treefs/btrfs/extent-io-tree.c+6 -70 replies
11/11btrfs: optimize clearing all bits from first extent record in an io treefs/btrfs/extent-io-tree.c+42 -20 replies

Reviews trailers per patch

None of the 11 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Sterba
SeriesR-b
1/11
2/11
3/11
4/11
5/11
6/11
7/11
8/11
9/11
10/11
11/11

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 00/11] btrfs: some optimizations and cleanups for io trees

From: Filipe Manana <[email protected]>

An assorted set of optimizations and cleanups for io trees. The last patch contains some benchmark results after applying the whole patchset.

Filipe Manana (11):
btrfs: optimize clearing all bits from the last extent record in an io tree
btrfs: turn extent_io_tree_panic() into a macro for better error reporting
btrfs: tag as unlikely branches that call extent_io_tree_panic()
btrfs: make add_extent_changeset() only return errors or success
btrfs: use extent_io_tree_panic() instead of BUG_ON()
btrfs: change last argument of add_extent_changeset() to boolean
btrfs: remove wake parameter from clear_state_bit()
btrfs: avoid unnecessary wake ups on io trees when there are no waiters
btrfs: free cached state outside critical section in wait_extent_bit()
btrfs: panic instead of warn when splitting extent state not in the tree
btrfs: optimize clearing all bits from first extent record in an io tree

 fs/btrfs/extent-io-tree.c | 179 ++++++++++++++++++++++++++++----------
 1 file changed, 135 insertions(+), 44 deletions(-)
Signature · 1 line
2.47.2