All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Jain <anand.jain@oracle.com>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 0/4] btrfs-progs: tune: add --device and --noscan option
Date: Tue, 13 Jun 2023 18:47:10 +0800	[thread overview]
Message-ID: <cover.1686484243.git.anand.jain@oracle.com> (raw)

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


             reply	other threads:[~2023-06-13 10:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 10:47 Anand Jain [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1686484243.git.anand.jain@oracle.com \
    --to=anand.jain@oracle.com \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.