path: root/btrfs.c
diff options
authorLi Zefan <>2010-11-18 03:49:56 +0000
committerChris Mason <>2011-10-25 09:18:31 -0400
commita418b24318723c0a45fe1f1b76b9286baa36c537 (patch)
treec2a4138d73454235ca1757ed0a8df561f5cb615c /btrfs.c
parentb8802ae3fa0c70d4cfc3287ed07479925973b0ac (diff)
Update for lzo support
[Btrfs-Progs][V2] Update for lzo support - Add incompat flag, otherwise btrfs-progs will report error when operating on btrfs filesystems mounted with lzo option. - Update man page. - Allow to turn on lzo compression for defrag operation: # btrfs filesystem defragment -c[zlib, lzo] <file> Note: "-c zlib" will fail, because that's how getopt() works for optional arguments. Signed-off-by: Li Zefan <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'btrfs.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs.c b/btrfs.c
index 46314cfe..1b4f4039 100644
--- a/btrfs.c
+++ b/btrfs.c
@@ -65,7 +65,7 @@ static struct Command commands[] = {
"List the recently modified files in a filesystem."
{ do_defrag, -1,
- "filesystem defragment", "[-vcf] [-s start] [-l len] [-t size] <file>|<dir> [<file>|<dir>...]\n"
+ "filesystem defragment", "[-vf] [-c[zlib,lzo]] [-s start] [-l len] [-t size] <file>|<dir> [<file>|<dir>...]\n"
"Defragment a file or a directory."
{ do_set_default_subvol, 2,