summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2012-08-31 05:40:44 +0000
committerChris Mason <chris.mason@fusionio.com>2012-10-04 20:33:20 -0400
commit723e5b0f9a47b9f9d2c4d8b87693af754a2730e9 (patch)
treef3691905d4b59449e0bad5ec7a987ab10d37a47a /man
parent6eba9002956ac40db87d42fb653a0524dc568810 (diff)
Btrfs-progs: add options to change bufsize in logical to inode translation
Add an option 's' to set bufsize in logical to inode transition, then we are able to read all the refs to the logical address. Meanwhile, set a max value 64k for the bufsize. Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'man')
-rw-r--r--man/btrfs.8.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/man/btrfs.8.in b/man/btrfs.8.in
index a8b4e9dc..92225800 100644
--- a/man/btrfs.8.in
+++ b/man/btrfs.8.in
@@ -50,7 +50,7 @@ btrfs \- control a btrfs filesystem
\fBbtrfs\fP \fBinspect-internal inode-resolve\fP [-v] \fI<inode>\fP \fI<path>\fP
.PP
\fBbtrfs\fP \fBinspect-internal logical-resolve\fP
-[-Pv] \fI<logical>\fP \fI<path>\fP
+[-Pv] [-s size] \fI<logical>\fP \fI<path>\fP
.PP
\fBbtrfs\fP \fBhelp|\-\-help|\-h \fP\fI\fP
.PP
@@ -335,7 +335,7 @@ verbose mode. print count of returned paths and ioctl() return value
.RE
.TP
-\fBinspect-internal logical-resolve\fP [-Pv] \fI<logical>\fP \fI<path>\fP
+\fBinspect-internal logical-resolve\fP [-Pv] [-s bufsize] \fI<logical>\fP \fI<path>\fP
Resolves a <logical> address in the filesystem mounted at <path> to all inodes.
By default, each inode is then resolved to a file system path (similar to the
\fBinode-resolve\fP subcommand).
@@ -346,6 +346,9 @@ By default, each inode is then resolved to a file system path (similar to the
skip the path resolving and print the inodes instead
.IP -v 5
verbose mode. print count of returned paths and all ioctl() return values
+.IP -s bufsize 5
+set inode container's size. This is used to increase inode container's size in case it is
+not enough to read all the resolved results. The max value one can set is 64k.
.RE
.SH EXIT STATUS