From 723e5b0f9a47b9f9d2c4d8b87693af754a2730e9 Mon Sep 17 00:00:00 2001 From: Liu Bo Date: Fri, 31 Aug 2012 05:40:44 +0000 Subject: 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 Signed-off-by: Chris Mason --- man/btrfs.8.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'man') 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\fP \fI\fP .PP \fBbtrfs\fP \fBinspect-internal logical-resolve\fP -[-Pv] \fI\fP \fI\fP +[-Pv] [-s size] \fI\fP \fI\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\fP \fI\fP +\fBinspect-internal logical-resolve\fP [-Pv] [-s bufsize] \fI\fP \fI\fP Resolves a address in the filesystem mounted at 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 -- cgit v1.2.3