btrfs: migrate the block group code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest25 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | btrfs: move btrfs_add_free_space out of a header filefs/ fs/ | +10 | 0 replies | |
| 2/25 | btrfs: move basic block_group definitions to their own headerfs/ fs/ fs/ +18 more | +177 | 0 replies | |
| 3/25 | btrfs: migrate the block group lookup codefs/ fs/ fs/ +2 more | +109 | 0 replies | |
| 4/25 | btrfs: migrate the block group ref counting stufffs/ fs/ fs/ +1 more | +26 | 0 replies | |
| 5/25 | btrfs: migrate nocow and reservation helpersfs/ fs/ fs/ +1 more | +89 | 0 replies | |
| 6/25 | btrfs: export the block group caching helpersfs/ fs/ | +43 | 0 replies | |
| 7/25 | btrfs: export the excluded extents helpersfs/ fs/ | +24 | 0 replies | |
| 8/25 | btrfs: export the caching control helpersfs/ fs/ | +21 | 0 replies | |
| 9/25 | btrfs: temporarily export fragment_free_spacefs/ fs/ | +5 | 0 replies | |
| 10/25 | btrfs: make caching_thread use btrfs_find_next_keyfs/ fs/ | +4 | 0 replies | |
| 11/25 | btrfs: migrate the block group caching codefs/ fs/ fs/ +1 more | +465 | 0 replies | |
| 12/25 | btrfs: temporarily export inc_block_group_rofs/ fs/ | +10 | 0 replies | |
| 13/25 | btrfs: migrate the block group removal codefs/ fs/ fs/ +1 more | +516 | 0 replies | |
| 14/25 | btrfs: export get_alloc_profilefs/ fs/ | +9 | 0 replies | |
| 15/25 | btrfs: migrate the block group read/creation codefs/ fs/ fs/ +1 more | +618 | 0 replies | |
| 16/25 | btrfs: temporarily export btrfs_get_restripe_targetfs/ fs/ | +6 | 0 replies | |
| 17/25 | btrfs: migrate inc/dec_block_group_ro codefs/ fs/ fs/ +1 more | +198 | 0 replies | |
| 18/25 | btrfs: migrate the dirty bg writeout codefs/ fs/ fs/ +1 more | +523 | 0 replies | |
| 19/25 | btrfs: export block group accounting helpersfs/ fs/ | +16 | 0 replies | |
| 20/25 | btrfs: migrate the block group space accounting helpersfs/ fs/ | +174 | 0 replies | |
| 21/25 | btrfs: migrate btrfs_can_relocatefs/ fs/ fs/ +1 more | +142 | 0 replies | |
| 22/25 | btrfs: migrate the chunk allocation codefs/ fs/ fs/ +2 more | +272 | 0 replies | |
| 23/25 | btrfs: migrate the alloc_profile helpersfs/ fs/ fs/ +1 more | +116 | 0 replies | |
| 24/25 | btrfs: migrate the block group cleanup codefs/ fs/ fs/ +1 more | +142 | 0 replies | |
| 25/25 | btrfs: unexport the temporary exported functionsfs/ fs/ | +70 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/25] btrfs: migrate the block group code
This is the series to migrate the block group code out of extent-tree.c. This is a much larger series than the previous two series because things were much more intertwined than block_rsv's and space_info. There is one code change patch in this series, it is
btrfs: make caching_thread use btrfs_find_next_key
This is so I didn't have to copy the simple helper from extent-tree.c into block-group.c as well. It's straightforward, but warrants a close look.
The rest is purely moving code around, no code changes at all. I temporarily export some functions at different points and then clean it all up at the end.
This patchset brings extent-tree.c down to ~5500 loc. Thanks,
Josef