Convert seed devices to proper list API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 18 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | btrfs: Factor out reada loop in __reada_start_machinefs/ | +16 | 3 replies | |
| 2/5 | btrfs: Factor out loop logic from btrfs_free_extra_devidsfs/ | +21 | 4 replies | |
| 3/5 | btrfs: Make close_fs_devices return voidfs/ fs/ | +5 | 2 replies | |
| 4/5 | btrfs: Simplify setting/clearing fs_info to btrfs_fs_devicesfs/ fs/ fs/ | +2 | 2 replies | |
| 5/5 | btrfs: Switch seed device to list apifs/ fs/ fs/ +1 more | +72 | 8 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Josef Bacik | Anand Jain |
|---|---|---|
| 1/5 | R-b | R-b |
| 2/5 | R-b | R-b |
| 3/5 | R-b | R-b |
| 4/5 | R-b | R-b |
| 5/5 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Convert seed devices to proper list API
This series converts the existing seed devices pointer in btrfs_fs_devices to proper list api. First 4 patches are cleanups preparing the code for the switch. Patch 5 has more information about the required transformations, it might seem lengthy but he logic everywhere is pretty much the same so shouldn't be that cumbersome to review.
This series survived xfstest runs and even caught 2 bugs while developing it.
Nikolay Borisov (5):
btrfs: Factor out reada loop in __reada_start_machine
btrfs: Factor out loop logic from btrfs_free_extra_devids
btrfs: Make close_fs_devices return void
btrfs: Simplify setting/clearing fs_info to btrfs_fs_devices
btrfs: Switch seed device to list api
fs/btrfs/disk-io.c | 39 +++++------ fs/btrfs/reada.c | 26 ++++--- fs/btrfs/sysfs.c | 4 -- fs/btrfs/volumes.c | 166 ++++++++++++++++++++------------------------- fs/btrfs/volumes.h | 6 +- 5 files changed, 112 insertions(+), 129 deletions(-)
--
2.17.1