-
- Downloads
Btrfs: Allocator fix variety pack
* Force chunk allocation when find_free_extent has to do a full scan
* Record the max key at the start of defrag so it doesn't run forever
* Block groups might not be contiguous, make a forward search for the
next block group in extent-tree.c
* Get rid of extra checks for total fs size
* Fix relocate_one_reference to avoid relocating the same file data block
twice when referenced by an older transaction
* Use the open device count when allocating chunks so that we don't
try to allocate from devices that don't exist
Signed-off-by:
Chris Mason <chris.mason@oracle.com>
Showing
- fs/btrfs/ctree.c 1 addition, 1 deletionfs/btrfs/ctree.c
- fs/btrfs/ctree.h 2 additions, 0 deletionsfs/btrfs/ctree.h
- fs/btrfs/extent-tree.c 185 additions, 88 deletionsfs/btrfs/extent-tree.c
- fs/btrfs/tree-defrag.c 17 additions, 0 deletionsfs/btrfs/tree-defrag.c
- fs/btrfs/volumes.c 4 additions, 8 deletionsfs/btrfs/volumes.c
Loading
Please register or sign in to comment