Skip to content

btrfs: minor cleanup related to bitmap operations

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: integrate the error handling of submit_one_sector()fs/btrfs/extent_io.c+15 -140 replies
2/2btrfs: replace for_each_set_bit() with for_each_set_bitmap()fs/btrfs/extent_io.c+16 -100 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBoris BurkovDavid Sterba
SeriesR-b
1/2R-b
2/2R-b

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 0/2] btrfs: minor cleanup related to bitmap operations

This is the safer cleanup part extracted from the previous attempt:
https://lore.kernel.org/linux-btrfs/[email protected]/

The first patch is to concentrate the error handling of submit_one_sector() so we do not have two separate error handling.

The second patch is the convert for_each_set_bit() to a more efficient for_each_set_bitmap() so that we can benefit from functions which accept a range other than a single block.

Qu Wenruo (2):
btrfs: integrate the error handling of submit_one_sector()
btrfs: replace for_each_set_bit() with for_each_set_bitmap()

 fs/btrfs/extent_io.c | 55 +++++++++++++++++++++++++-------------------
 1 file changed, 31 insertions(+), 24 deletions(-)
Signature · 1 line
2.52.0