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