btrfs: move the block_rsv code out of extent-tree.c
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | btrfs: move btrfs_block_rsv definitions into it's own headerfs/ fs/ fs/ | +83 | 0 replies | |
| 2/8 | btrfs: export btrfs_block_rsv_add_bytesfs/ fs/ | +11 | 0 replies | |
| 3/8 | btrfs: export __btrfs_block_rsv_releasefs/ fs/ | +13 | 0 replies | |
| 4/8 | btrfs: cleanup the target logic in __btrfs_block_rsv_releasefs/ | +11 | 2 replies | |
| 5/8 | btrfs: stop using block_rsv_release_bytes everywherefs/ | +6 | 2 replies | |
| 6/8 | btrfs: migrate the block-rsv code to block-rsv.cfs/ fs/ fs/ | +259 | 0 replies | |
| 7/8 | btrfs: migrate the global_block_rsv helpers to block-rsv.cfs/ fs/ fs/ | +98 | 0 replies | |
| 8/8 | btrfs: export and migrate use_block_rsv/unuse_block_rsvfs/ fs/ fs/ | +96 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/8] btrfs: move the block_rsv code out of extent-tree.c
This patchset depends on the space_info migration patchset. This is the next logical chunk of things to move out of extent-tree.c With these sets of patches we're down below 10k loc in extent-tree.c. This chunk was much easier to move as we had exported a lot of these functions already. There is 1 code change patch in here and that's to cleanup the logic in __btrfs_block_rsv_release so it could be used more globally by everybody. The rest is just exporting and migrating code around. Again I specifically didn't clean anything else up, I'm just trying to re-organize everything. The diffstat of the series is as follows
fs/btrfs/Makefile | 3 +- fs/btrfs/block-rsv.c | 429 ++++++++++++++++++++++++++++++++++++++++++++++ fs/btrfs/block-rsv.h | 104 ++++++++++++ fs/btrfs/ctree.h | 70 +------- fs/btrfs/extent-tree.c | 452 ++----------------------------------------------- 5 files changed, 549 insertions(+), 509 deletions(-)
Thanks,
Josef