btrfs-progs: btrfstune: accept multiple devices and cleanup
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 9 patches 5 repliesIn review
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/9] btrfs-progs: btrfstune: accept multiple devices and cleanup
In an attempt to enable btrfstune to accept multiple devices from the command line, this patch includes some cleanup around the related code and functions.
Patches 1 to 5 primarily consist of cleanups. Patches 6 and 8 serve as preparatory changes. Patch 7 enables btrfstune to accept multiple devices. Patch 9 ensures that btrfstune no longer automatically uses the system block devices when --noscan option is specified. Patches 10 and 11 are help and documentation part.
Anand Jain (11):
btrfs-progs: check_mounted_where declare is_btrfs as bool
btrfs-progs: check_mounted_where pack varibles type by size
btrfs-progs: rename struct open_ctree_flags to open_ctree_args
btrfs-progs: optimize device_list_add
btrfs-progs: simplify btrfs_scan_one_device()
btrfs-progs: factor out btrfs_scan_stdin_devices
btrfs-progs: tune: add stdin device list
btrfs-progs: refactor check_where_mounted with noscan option
btrfs-progs: tune: add noscan option
btrfs-progs: tune: add help for multiple devices and noscan option
btrfs-progs: Documentation: update btrfstune --noscan option
Documentation/btrfstune.rst | 4 ++++ btrfs-find-root.c | 2 +- check/main.c | 2 +- cmds/filesystem.c | 2 +- cmds/inspect-dump-tree.c | 39 ++++--------------------------------- cmds/rescue.c | 4 ++-- cmds/restore.c | 2 +- common/device-scan.c | 39 +++++++++++++++++++++++++++++++++++++ common/device-scan.h | 1 + common/open-utils.c | 21 +++++++++++--------- common/open-utils.h | 3 ++- common/utils.c | 3 ++- image/main.c | 4 ++-- kernel-shared/disk-io.c | 8 ++++---- kernel-shared/disk-io.h | 4 ++-- kernel-shared/volumes.c | 14 +++++-------- mkfs/main.c | 2 +- tune/main.c | 25 +++++++++++++++++++----- 18 files changed, 104 insertions(+), 75 deletions(-)
Signature · 1 line
2.31.1