[PATCH 0/5] Convert seed devices to proper list API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux