Skip to content

btrfs: minor block group cleanups

Anand Jain linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3btrfs: fix btrfs_return_cluster_to_free_space() returnfs/btrfs/free-space-cache.c fs/btrfs/free-space-cache.h+6 -92 replies
2/3btrfs: rename btrfs_block_group::countfs/btrfs/block-group.c fs/btrfs/block-group.h fs/btrfs/free-space-cache.c+7 -76 replies
3/3btrfs: use helper btrfs_get_block_groupfs/btrfs/free-space-cache.c+2 -22 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchNikolay BorisovJohannes Thumshirn
1/3R-b R-b
2/3
3/3R-b R-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/3] btrfs: minor block group cleanups

Minor cleanup patches.
1/3 cleansup the return value of btrfs_return_cluster_to_free_space(). 2/3 and 3/3 together cleanups block group reference count.

2/3 and 3/3 are related. However 1/3 is independent to the rest of the patches in this set.

Anand Jain (3):
btrfs: fix btrfs_return_cluster_to_free_space() return
btrfs: rename btrfs_block_group::count
btrfs: use helper btrfs_get_block_group

 fs/btrfs/block-group.c      |  8 ++++----
 fs/btrfs/block-group.h      |  2 +-
 fs/btrfs/free-space-cache.c | 17 +++++++----------
 fs/btrfs/free-space-cache.h |  2 +-
 4 files changed, 13 insertions(+), 16 deletions(-)
Signature · 1 line
2.25.1