]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerShan Hai <shan.hai@oracle.com>
Wed, 23 Aug 2017 05:27:20 +0000 (13:27 +0800)
commitc952bda1cb64993b30904018c06999f668d3d654
tree2853ffeccf6dcc44b5958d4d3b5f719f81a3dd23
parent1ef810d0b42c63d82251e4ca7752dba19cf96e1b
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>
Orabug: 26274676

(cherry picked from commit 1e144fb8f4a4d6d6d88c58f87e4366e3cd02ab72)
Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/btrfs/extent-tree.c