Misc cleanups around device addition
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: Use rcu when iterating devices in btrfs_init_new_devicefs/ | +4 | 5 replies | |
| 2/4 | btrfs: Refactor locked condition in btrfs_init_new_devicefs/ | +4 | 1 reply | |
| 3/4 | btrfs: Remove redundant code from btrfs_free_stale_devicesfs/ | +0 | 1 reply | |
| 4/4 | btrfs: Don't opencode sync_blockdevfs/ | +1 | 2 replies |
Reviews trailers per patch
3 of 4 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn | Anand Jain |
|---|---|---|
| 1/4 | ||
| 2/4 | R-b | |
| 3/4 | R-b | |
| 4/4 | 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/4] Misc cleanups around device addition
Here are 4 minor cleanups around btrfs_init_new_device. First one converts a readonly usage of device_lists to using RCU. Second patch slightly simplifies the logic around locking when seed device is used. Third one removes a leftover from rewrite of btrfs_free_stale_devices. And the final one replaces an opencoded filemap_write_and_wait on the bdev inode with the more consistent sync_blockdev.
All these have passed xfstest and don't constitute functional changes.
Nikolay Borisov (4):
btrfs: Use rcu when iterating devices in btrfs_init_new_device
btrfs: Refactor locked condition in btrfs_init_new_device
btrfs: Remove redundant code from btrfs_free_stale_devices
btrfs: Don't opencode sync_blockdev
fs/btrfs/volumes.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-)
--
2.17.1