RFC btrfs-progs: add support for device role-based chunk allocation
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest14 patches 1 replyIn 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 RFC 00/14] btrfs-progs: add support for device role-based chunk allocation
Adds cleanup, fixes, and device role support to enable more efficient kernel chunk allocation based on device perforamnce.
Anand Jain (14):
btrfs-progs: minor spelling correction in the list-chunk help text
btrfs-progs: refactor devid comparison function
btrfs-progs: rename local dev_list to devices in btrfs_alloc_chunk
btrfs-progs: mkfs: prepare to merge duplicate if-else blocks
btrfs-progs: mkfs: eliminate duplicate code in if-else
btrfs-progs: mkfs: refactor test_num_disk_vs_raid - split data and
metadata
btrfs-progs: mkfs: device argument handling with a list
btrfs-progs: import device role handling from the kernel
btrfs-progs: mkfs: introduce device roles in device paths
btrfs-progs: sort devices by role before using them
btrfs-progs: helper for the device role within dev_item::type
btrfs-progs: mkfs: persist device roles to dev_item::type
btrfs-progs: update device add ioctl with device type
btrfs-progs: disable exclusive metadata/data device roles
cmds/device.c | 57 +++++-- cmds/filesystem.c | 15 -- cmds/inspect.c | 2 +- common/device-scan.c | 4 +- common/device-scan.h | 2 +- common/device-utils.c | 46 ++++++ common/device-utils.h | 3 + common/utils.c | 30 ++-- kernel-shared/volumes.c | 40 ++++- kernel-shared/volumes.h | 26 ++++ mkfs/common.c | 2 +- mkfs/common.h | 6 +- mkfs/main.c | 324 +++++++++++++++++++++++++++++++--------- 13 files changed, 430 insertions(+), 127 deletions(-)
Signature · 1 line
2.49.0