btrfs: clean up zoned device helpers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | btrfs: add a helper for opening a new device to add to the fsfs/ fs/ fs/ | +24 | 2 replies | |
| 2/10 | btrfs: move btrfs_check_device_zone_type into volumes.cfs/ fs/ | +19 | 1 reply | |
| 3/10 | btrfs: move btrfs_can_zone_reset into extent-tree.cfs/ fs/ | +15 | 1 reply | |
| 4/10 | btrfs: move btrfs_check_super_location into scrub.cfs/ fs/ | +9 | 1 reply | |
| 5/10 | btrfs: move btrfs_zoned_meta_io_*lock to extent_io.cfs/ fs/ | +14 | 1 reply | |
| 6/10 | btrfs: move btrfs_clear_treelog_bg to extent-tree.cfs/ fs/ | +14 | 1 reply | |
| 7/10 | btrfs: move btrfs_zoned_data_reloc_*lock to extent_io.cfs/ fs/ | +16 | 1 reply | |
| 8/10 | btrfs: move btrfs_zoned_bg_is_full into block-group.cfs/ fs/ fs/ | +7 | 1 reply | |
| 9/10 | btrfs: make the zoned helpers take btrfs_zoned_device_infofs/ fs/ fs/ +2 more | +29 | 1 reply | |
| 10/10 | btrfs: delete btrfs_check_super_location helperfs/ | +1 | 1 reply |
Reviews trailers per patch
9 of 10 patches have a Reviewed-by or Acked-by.
| Patch | Johannes Thumshirn |
|---|---|
| 1/10 | R-b |
| 2/10 | R-b |
| 3/10 | R-b |
| 4/10 | R-b |
| 5/10 | R-b |
| 6/10 | R-b |
| 7/10 | R-b |
| 8/10 | R-b |
| 9/10 | R-b |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/10] btrfs: clean up zoned device helpers
Hello,
This is in the same vein as my other cleanups, however zoned has a lot of different patches so I'm sending them as a group, additionally so I get the appropriate review attention from the right people.
These cleanups are aimed at making any helpers inside of zoned.h only derefence structs that are declared inside of zoned.h, which is just btrfs_zoned_device_info. This means moving helpers that aren't used anywhere else into their respective C files, reworking some of the helpers, and other related cleanups. Thanks,
Josef
Josef Bacik (10):
btrfs: add a helper for opening a new device to add to the fs
btrfs: move btrfs_check_device_zone_type into volumes.c
btrfs: move btrfs_can_zone_reset into extent-tree.c
btrfs: move btrfs_check_super_location into scrub.c
btrfs: move btrfs_zoned_meta_io_*lock to extent_io.c
btrfs: move btrfs_clear_treelog_bg to extent-tree.c
btrfs: move btrfs_zoned_data_reloc_*lock to extent_io.c
btrfs: move btrfs_zoned_bg_is_full into block-group.c
btrfs: make the zoned helpers take btrfs_zoned_device_info
btrfs: delete btrfs_check_super_location helper
fs/btrfs/block-group.c | 6 +++ fs/btrfs/block-group.h | 1 + fs/btrfs/dev-replace.c | 10 +--- fs/btrfs/extent-tree.c | 27 ++++++++++ fs/btrfs/extent_io.c | 30 +++++++++++ fs/btrfs/scrub.c | 8 +-- fs/btrfs/volumes.c | 49 ++++++++++++++--- fs/btrfs/volumes.h | 2 + fs/btrfs/zoned.c | 20 +++---- fs/btrfs/zoned.h | 118 +++++------------------------------------ 10 files changed, 136 insertions(+), 135 deletions(-)
Signature · 1 line
2.26.3