Device fixes and cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | btrfs: add missing device::flush_bio putsfs/ | +10 | 3 replies | |
| 2/11 | btrfs: rename device free rcu helper to free_device_rcufs/ | +5 | 0 replies | |
| 3/11 | btrfs: introduce free_device helperfs/ | +14 | 0 replies | |
| 4/11 | btrfs: use free_device where opencodedfs/ | +11 | 1 reply | |
| 5/11 | btrfs: simplify exit paths in btrfs_init_new_devicefs/ | +3 | 1 reply | |
| 6/11 | btrfs: document device lockingfs/ | +66 | 8 replies | |
| 7/11 | btrfs: dev_alloc_list is not protected by RCU, use normal list_delfs/ | +1 | 0 replies | |
| 8/11 | btrfs: simplify btrfs_close_bdevfs/ | +5 | 0 replies | |
| 9/11 | btrfs: switch to RCU for device traversal in btrfs_ioctl_dev_infofs/ | +2 | 0 replies | |
| 10/11 | btrfs: switch to RCU for device traversal in btrfs_ioctl_fs_infofs/ | +4 | 0 replies | |
| 11/11 | btrfs: use non-RCU list traversal in write_all_supers calleesfs/ | +5 | 2 replies |
Reviews trailers per patch
3 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Nikolay Borisov | Anand Jain |
|---|---|---|
| 1/11 | R-b | R-b |
| 2/11 | ||
| 3/11 | ||
| 4/11 | R-b | |
| 5/11 | R-b | |
| 6/11 | ||
| 7/11 | ||
| 8/11 | ||
| 9/11 | ||
| 10/11 | ||
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/11] Device fixes and cleanups
Cleanups for device locking and documentation of the various mutexes. Patch 1 is a bugfix that could be considered for 4.15 as we could leak bios under some rare condition, but so far this hasn't been reported so I don't rate is as critical.
David Sterba (11):
btrfs: add missing device::flush_bio puts
btrfs: rename device free rcu helper to free_device_rcu
btrfs: introduce free_device helper
btrfs: use free_device where opencoded
btrfs: simplify exit paths in btrfs_init_new_device
btrfs: document device locking
btrfs: dev_alloc_list is not protected by RCU, use normal list_del
btrfs: simplify btrfs_close_bdev
btrfs: switch to RCU for device traversal in btrfs_ioctl_dev_info
btrfs: switch to RCU for device traversal in btrfs_ioctl_fs_info
btrfs: use non-RCU list traversal in write_all_supers callees
fs/btrfs/disk-io.c | 9 ++-- fs/btrfs/ioctl.c | 15 +++--- fs/btrfs/volumes.c | 134 ++++++++++++++++++++++++++++++++++++++++------------- 3 files changed, 114 insertions(+), 44 deletions(-)
Signature · 1 line
2.14.0