Btrfs: wire up the free space tree to the extent tree
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:37 +0000 (20:50 -0700)
committerChris Mason <clm@fb.com>
Thu, 17 Dec 2015 20:16:47 +0000 (12:16 -0800)
commit1e144fb8f4a4d6d6d88c58f87e4366e3cd02ab72
treea6174c53f81b3f81c8944c23d835af6ac020dfc3
parent7c55ee0c4afba4434d973117234577ae6ff77a1c
Btrfs: wire up the free space tree to the extent tree

The free space tree is updated in tandem with the extent tree. There are
only a handful of places where we need to hook in:

1. Block group creation
2. Block group deletion
3. Delayed refs (extent creation and deletion)
4. Block group caching

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent-tree.c