The operation of device replace and device delete follows same steps
upto some depths, however they don't share codes.
This set of enhancement will help device replace and device delete to
share codes.
And at the end add support to delete device using devid.

Anand Jain (7):
  Btrfs: create helper function __check_raid_min_devices()
  Btrfs: clean up and optimize __check_raid_min_device()
  Btrfs: create helper btrfs_find_device_by_user_input()
  Btrfs: make use of btrfs_find_device_by_user_input()
  Btrfs: enhance btrfs_find_device_by_user_input() to check device path
  Btrfs: make use of btrfs_scratch_superblocks() in btrfs_rm_device()
  Btrfs: Introduce device delete by devid

 fs/btrfs/dev-replace.c     |  28 +-----
 fs/btrfs/ioctl.c           |  58 +++++++++++-
 fs/btrfs/volumes.c         | 214 ++++++++++++++++++---------------------------
 fs/btrfs/volumes.h         |   5 +-
 include/uapi/linux/btrfs.h |  14 ++-
 5 files changed, 159 insertions(+), 160 deletions(-)

-- 
2.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to