• Chris Mason's avatar
    Btrfs: add new defrag-range ioctl. · 1e701a32
    Chris Mason authored
    The btrfs defrag ioctl was limited to doing the entire file.  This
    commit adds a new interface that can defrag a specific range inside
    the file.
    
    It can also force compression on the file, allowing you to selectively
    compress individual files after they were created, even when mount -o
    compress isn't turned on.
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    1e701a32
ioctl.c 45.9 KB