All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] btrfs-progs: tune: add --device and --noscan option
@ 2023-06-13 10:47 Anand Jain
  2023-06-13 10:47 ` [PATCH 1/5] btrfs-progs: tune: consolidate return goto free-out Anand Jain
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Anand Jain @ 2023-06-13 10:47 UTC (permalink / raw)
  To: linux-btrfs

Separated out from the preparatory patch set. Depends on the preparatory
patch set: ("btrfs-progs: cleanup and preparatory around device scan").
This set (along with its preparatory patch) has passed the btrfs-progs
test suite.

By default, btrfstune scans all the block devices in the system.

To scan regular files without mapping them to a loop device, add the
--device option.

The option arguments follow the same pattern as in the "mkfs.btrfs -O"
option.

To indicate not to scan the system for other devices, add the --noscan
option.

For example:

  The command below will scan both regular files and the devices
  provided in the --device option, along with the system block devices.

	btrfstune -m --device /tdev/td1,/tdev/td2 /tdev/td3
  or
	btrfstune -m --device /tdev/td1 --device /tdev/td2 /tdev/td3

  In some cases, if you need to avoid the default system scan for the
  block device, you can use the --noscan option.

	btrfstune -m --noscan --device /tdev/td1,/tdev/td2 /tdev/td3

Anand Jain (5):
  btrfs-progs: tune: consolidate return goto free-out
  btrfs-progs: tune: introduce --device option
  btrfs-progs: docs: update btrfstune --device option
  btrfs-progs: tune: introduce --noscan option
  btrfs-progs: docs: update btrfstune --noscan option

 Documentation/btrfstune.rst |   7 +++
 tune/main.c                 | 103 ++++++++++++++++++++++++++++++------
 2 files changed, 95 insertions(+), 15 deletions(-)

-- 
2.38.1


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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-13 10:47 [PATCH 0/4] btrfs-progs: tune: add --device and --noscan option Anand Jain
2023-06-13 10:47 ` [PATCH 1/5] btrfs-progs: tune: consolidate return goto free-out Anand Jain
2023-06-13 10:47 ` [PATCH 1/1] btrfs-progs: tune: introduce --device option Anand Jain
2023-06-13 10:52   ` Anand Jain
2023-06-13 10:47 ` [PATCH 3/5] btrfs-progs: docs: update btrfstune " Anand Jain
2023-06-13 10:47 ` [PATCH 4/5] btrfs-progs: tune: introduce --noscan option Anand Jain
2023-06-13 10:47 ` [PATCH 5/5] btrfs-progs: docs: update btrfstune " Anand Jain
2023-06-28 23:27 ` [PATCH 0/4] btrfs-progs: tune: add --device and " Anand Jain

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.