Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
btrfs: ignore unfragmented file checks in defrag when compression ena…
…bled - rebased Rebased on btrfs-next and retested. Inform should_defrag_range if BTRFS_DEFRAG_RANGE_COMPRESS is set. If so, skip checks for adjacent extents and extent size when deciding whether to defrag, as these can prevent an uncompressed and unfragmented file from being compressed as requested. Signed-off-by: Andrew Mahone <andrew.mahone@gmail.com>
- Loading branch information