Btrfs: add new defrag-range ioctl.
authorChris Mason <chris.mason@oracle.com>
Thu, 11 Mar 2010 14:42:04 +0000 (09:42 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 15 Mar 2010 15:00:10 +0000 (11:00 -0400)
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: Chris Mason <chris.mason@oracle.com>

No differences found