summaryrefslogtreecommitdiff
path: root/fs/btrfs/ioctl.h
diff options
context:
space:
mode:
authorAndrew Mahone <andrew.mahone@gmail.com>2012-06-20 05:08:32 +0400
committerChris Mason <chris.mason@fusionio.com>2012-07-23 23:41:39 +0400
commita43a21113365e5a9b59efc411da715d910cca87c (patch)
tree6dccfda943dda491c379ef14bcd7f7a01306f3b5 /fs/btrfs/ioctl.h
parente4b50e14c8f72bcbae53809815d5df70d5aec174 (diff)
downloadlinux-a43a21113365e5a9b59efc411da715d910cca87c.tar.xz
btrfs: ignore unfragmented file checks in defrag when compression enabled - 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>
Diffstat (limited to 'fs/btrfs/ioctl.h')
0 files changed, 0 insertions, 0 deletions