linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] btrfs-progs: btrfstune: accept multiple devices and cleanup
@ 2023-06-07  9:59 Anand Jain
  2023-06-07  9:59 ` [PATCH 01/11] btrfs-progs: check_mounted_where declare is_btrfs as bool Anand Jain
                   ` (12 more replies)
  0 siblings, 13 replies; 17+ messages in thread
From: Anand Jain @ 2023-06-07  9:59 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Anand Jain

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(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-06-08  4:27 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07  9:59 [PATCH 0/9] btrfs-progs: btrfstune: accept multiple devices and cleanup Anand Jain
2023-06-07  9:59 ` [PATCH 01/11] btrfs-progs: check_mounted_where declare is_btrfs as bool Anand Jain
2023-06-07  9:59 ` [PATCH 02/11] btrfs-progs: check_mounted_where pack varibles type by size Anand Jain
2023-06-07  9:59 ` [PATCH 03/11] btrfs-progs: rename struct open_ctree_flags to open_ctree_args Anand Jain
2023-06-07  9:59 ` [PATCH 04/11] btrfs-progs: optimize device_list_add Anand Jain
2023-06-07  9:59 ` [PATCH 05/11] btrfs-progs: simplify btrfs_scan_one_device() Anand Jain
2023-06-07  9:59 ` [PATCH 06/11] btrfs-progs: factor out btrfs_scan_stdin_devices Anand Jain
2023-06-07  9:59 ` [PATCH 07/11] btrfs-progs: tune: add stdin device list Anand Jain
2023-06-07  9:59 ` [PATCH 08/11] btrfs-progs: refactor check_where_mounted with noscan option Anand Jain
2023-06-07  9:59 ` [PATCH 09/11] btrfs-progs: tune: add " Anand Jain
2023-06-07  9:59 ` [PATCH 10/11] btrfs-progs: tune: add help for multiple devices and " Anand Jain
2023-06-07  9:59 ` [PATCH 11/11] btrfs-progs: Documentation: update btrfstune --noscan option Anand Jain
2023-06-07 10:43 ` [PATCH 0/9] btrfs-progs: btrfstune: accept multiple devices and cleanup Anand Jain
2023-06-07 11:06 ` Qu Wenruo
2023-06-08  0:20   ` Anand Jain
2023-06-08  1:42     ` Qu Wenruo
2023-06-08  4:26       ` Anand Jain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).