linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v6] Add cli and ioctl to forget scanned device(s)
@ 2018-01-11  1:25 Anand Jain
  2018-01-11  1:25 ` [PATCH 1/1] btrfs: introduce feature to forget a btrfs device Anand Jain
  2018-01-11  1:25 ` [PATCH 1/1] btrfs-progs: add cli to forget one or all scanned devices Anand Jain
  0 siblings, 2 replies; 5+ messages in thread
From: Anand Jain @ 2018-01-11  1:25 UTC (permalink / raw)
  To: linux-btrfs

v6:
 Use the changed fn name btrfs_free_stale_devices().
 
 Change in title:
 Old v5:
 Cover-letter:
  [PATCH v5] Add cli and ioctl to ignore a scanned device
 Kernel:
  [PATCH v5] btrfs: introduce feature to ignore a btrfs device
 Progs:
  [PATCH v5] btrfs-progs: add 'btrfs device ignore' cli

v5:
  Adds feature to delete all stale devices
  Reuses btrfs_free_stale_devices() fn and so depends on the
    patch-set [1] in the ML.
  Uses struct btrfs_ioctl_vol_args_v2 instead of
    struct btrfs_ioctl_vol_args as arg
  Does the device path matching instead of btrfs_device matching
    (we won't delete the mounted device as btrfs_free_stale_devices()
    checks for it)
v4:
  No change. But as the ML thread may be confusing, so resend.
v3:
  No change. Send to correct ML.
v2:
  Accepts review from Nikolay, details are in the specific patch.
  Patch 1/2 is renamed from
    [PATCH 1/2] btrfs: refactor btrfs_free_stale_device() to get device list delete
  to
    [PATCH 1/2] btrfs: add function to device list delete

Adds cli and ioctl to forget a scanned device or forget all stale
devices in the kernel.

Anand Jain (1):
  btrfs: introduce feature to forget a btrfs device

 fs/btrfs/super.c           | 27 +++++++++++++++++++++++----
 fs/btrfs/volumes.c         |  9 +++++++++
 fs/btrfs/volumes.h         |  1 +
 include/uapi/linux/btrfs.h |  6 +++++-
 4 files changed, 38 insertions(+), 5 deletions(-)

Anand Jain (1):
  btrfs-progs: add cli to forget one or all scanned devices

 cmds-device.c | 77 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ioctl.h       |  6 ++++-
 2 files changed, 82 insertions(+), 1 deletion(-)

-- 
2.7.0


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

end of thread, other threads:[~2018-03-01 12:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-11  1:25 [PATCH v6] Add cli and ioctl to forget scanned device(s) Anand Jain
2018-01-11  1:25 ` [PATCH 1/1] btrfs: introduce feature to forget a btrfs device Anand Jain
2018-02-28  0:57   ` Liu Bo
2018-03-01 12:03     ` Anand Jain
2018-01-11  1:25 ` [PATCH 1/1] btrfs-progs: add cli to forget one or all scanned devices 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).