Device delete by id
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | btrfs: create a helper function to read the disk superfs/ | +52 | 0 replies | |
| 2/15 | btrfs: create helper function __check_raid_min_devices()fs/ | +32 | 0 replies | |
| 3/15 | btrfs: clean up and optimize __check_raid_min_device()fs/ | +19 | 0 replies | |
| 4/15 | btrfs: create helper btrfs_find_device_by_user_input()fs/ fs/ fs/ | +23 | 0 replies | |
| 5/15 | btrfs: make use of btrfs_find_device_by_user_input()fs/ | +37 | 0 replies | |
| 6/15 | btrfs: enhance btrfs_find_device_by_user_input() to check device pathfs/ fs/ | +3 | 0 replies | |
| 7/15 | btrfs: make use of btrfs_scratch_superblocks() in btrfs_rm_device()fs/ | +14 | 0 replies | |
| 8/15 | btrfs: introduce device delete by devidfs/ fs/ fs/ +1 more | +73 | 0 replies | |
| 9/15 | btrfs: optimize check for stale devicefs/ | +2 | 0 replies | |
| 10/15 | btrfs: rename __check_raid_min_devicesfs/ | +2 | 1 reply | |
| 11/15 | btrfs: pass number of devices to btrfs_check_raid_min_devicesfs/ | +20 | 1 reply | |
| 12/15 | btrfs: indtroduce raid-type to error-code table, for minimum device constraintfs/ fs/ | +16 | 1 reply | |
| 13/15 | btrfs: use existing device constraints table btrfs_raid_arrayfs/ | +9 | 1 reply | |
| 14/15 | btrfs: rename btrfs_find_device_by_user_inputfs/ fs/ fs/ | +13 | 1 reply | |
| 15/15 | btrfs: rename flags for vol args v2fs/ include/ | +8 | 2 replies |
Reviews trailers per patch
6 of 15 patches have a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | R-b |
| 11/15 | R-b T-b |
| 12/15 | R-b |
| 13/15 | R-b |
| 14/15 | R-b |
| 15/15 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] Device delete by id
Hi,
this patchset extends the ioctl arugments to take an id so we can delete a device by it. It reuses the existing structure btrfs_ioctl_vol_args_v2 and extends it in na backward-compatible way so that we don't need to introduce another one.
The core patchset is from Anand, I did some cleanups as I went through the series again and made some cleanups and minor naming tweaks to the interface.
I'll add the branch to for-next and if everything goes fine I'll send a pull request for 4.6 in a week.
Anand Jain (9):
btrfs: create a helper function to read the disk super
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
btrfs: optimize check for stale device
David Sterba (6):
btrfs: rename __check_raid_min_devices
btrfs: pass number of devices to btrfs_check_raid_min_devices
btrfs: indtroduce raid-type to error-code table, for minimum device
constraint
btrfs: use existing device constraints table btrfs_raid_array
btrfs: rename btrfs_find_device_by_user_input
btrfs: rename flags for vol args v2
fs/btrfs/dev-replace.c | 28 +--- fs/btrfs/ioctl.c | 58 +++++++- fs/btrfs/volumes.c | 322 ++++++++++++++++++++++----------------------- fs/btrfs/volumes.h | 7 +- include/uapi/linux/btrfs.h | 15 ++- 5 files changed, 233 insertions(+), 197 deletions(-)
Signature · 1 line
2.7.1