From 67e8b6748e2d73f4deef420b81225faff67020a5 Mon Sep 17 00:00:00 2001 From: Frank Holton Date: Tue, 1 Oct 2013 11:31:47 -0400 Subject: [PATCH] btrfs-progs: Update manpages for btrfs defrag -r Add the -r option to the manpages for btrfs defragment Signed-off-by: Frank Holton Signed-off-by: David Sterba Signed-off-by: Chris Mason --- man/btrfs.8.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index d86ec086..de356b09 100644 --- a/man/btrfs.8.in +++ b/man/btrfs.8.in @@ -268,8 +268,9 @@ Force a sync for the filesystem identified by \fI\fR. .TP \fBfilesystem defragment\fP [\fIoptions\fP] \fI\fP|\fI\fP [\fI\fP|\fI...\fP]\fP -Defragment file data and/or directory metadata. To defragment all files in a -directory you have to specify each one on its own or use your shell wildcards. +Defragment file data and/or directory metadata. If \fB-r\fP is passed, +files in \fIdir\fR will be defragmented recursively. + The start position and the number of bytes to defragment can be specified by \fIstart\fR and \fIlen\fR. Any extent bigger than threshold will be @@ -283,6 +284,8 @@ defragment operations. be verbose .IP "\fB-c\fP" 5 compress file contents while defragmenting +.IP "\fB-r\fP" 5 +defragment files recursively .IP "\fB-f\fP" 5 flush filesystem after defragmenting .IP "\fB-s \fIstart\fP\fP" 5