mbox series

[0/8] btrfs: move the block_rsv code out of extent-tree.c

Message ID 20190619174724.1675-1-josef@toxicpanda.com (mailing list archive)
Headers show
Series btrfs: move the block_rsv code out of extent-tree.c | expand

Message

Josef Bacik June 19, 2019, 5:47 p.m. UTC
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

Comments

David Sterba July 1, 2019, 3:19 p.m. UTC | #1
On Wed, Jun 19, 2019 at 01:47:16PM -0400, Josef Bacik wrote:
> 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(-)

Added to misc-next, thanks.