Skip to content
Commit 1e701a32 authored by Chris Mason's avatar Chris Mason
Browse files

Btrfs: add new defrag-range ioctl.



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>
parent 940100a4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment