Skip to content

Cleanups for later btrfs_alloc_chunk() rework

Qu Wenruo linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5btrfs-progs: Use bool parameter to determine if we're allocating data extentctree.h extent-tree.c+10 -90 replies
2/5btrfs-progs: volumes: Make find_free_dev_extent_start staticvolumes.c+1 -10 replies
3/5btrfs-progs: volumes: Remove unnecessary trans parametervolumes.c+7 -100 replies
4/5btrfs-progs: volumes: Remove unnecessary parameters when allocating device extentvolumes.c+7 -110 replies
5/5btrfs-progs: Remove unnecessary parameter for btrfs_add_block_groupcmds-check.c convert/main.c ctree.h +2 more+16 -251 reply

Reviews trailers per patch

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

PatchSu YueNikolay Borisov
SeriesR-b R-b
1/5
2/5
3/5
4/5
5/5

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/5] Cleanups for later btrfs_alloc_chunk() rework

Just small cleanups for incoming btrfs_alloc_chunk() rework, which is designed to allow btrfs_alloc_chunk() to be able to alloc meta chunk, even current meta chunks are already full.

The cleanups are quite small, most of them are just removing unnecessary parameters, and make some function static.

Qu Wenruo (5):
btrfs-progs: Use bool parameter to determine if we're allocating data
extent
btrfs-progs: volumes: Make find_free_dev_extent_start static
btrfs-progs: volumes: Remove unnecessary trans parameter
btrfs-progs: volumes: Remove unnecessary parameters when allocating
device extent
btrfs-progs: Remove unnecessary parameter for btrfs_add_block_group

 cmds-check.c   |  4 ++--
 convert/main.c |  4 +---
 ctree.h        |  7 +++----
 extent-tree.c  | 31 ++++++++++++++++---------------
 mkfs/main.c    | 14 ++++----------
 volumes.c      | 35 ++++++++++++++---------------------
 6 files changed, 40 insertions(+), 55 deletions(-)
Signature · 1 line
2.15.1