btrfs-progs/Documentation
Liu Bo b2d0e10d49 Btrfs-progs: fix wrong manpage of defrag command
'btrfs filesystem defrag' has an option '-t', whose manpage says

"Any extent bigger than threshold given by -t option, will be
considered already defragged. Use 0 to take the kernel default, and
use 1 to say every single extent must be rewritten."

Here 'use 0' still works, it refers to the default value(256K), however,
'use 1' is an obvious typo, it should be -1, which means the largest value
it can be.

Right now, we use parse_size() which no more allow value '-1', so in
order to keep the manpage correct, this updates it to only keep value '0'.

If you want to make sure every single extent is rewritten, please use a fairly
large size, say 1G.

Reported-by: Sebastian Ochmann <ochmann@informatik.uni-bonn.de>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
2014-08-22 15:07:02 +02:00
..
Makefile btrfs-progs: Add uninstall targets to Makefiles. 2014-08-22 15:07:02 +02:00
asciidoc.conf
btrfs-balance.txt btrfs-progs: Documentation: Add filter section for btrfs-balance. 2014-08-22 14:39:33 +02:00
btrfs-check.txt Btrfs-progs: fsck: add an option to check data csums 2014-08-22 14:39:33 +02:00
btrfs-convert.txt btrfs-progs: doc: fix incorrect subvol name 2014-08-22 15:04:50 +02:00
btrfs-debug-tree.txt
btrfs-device.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-filesystem.txt Btrfs-progs: fix wrong manpage of defrag command 2014-08-22 15:07:02 +02:00
btrfs-find-root.txt
btrfs-image.txt btrfs-progs: update manpage for btrfs-image with -m option added 2014-08-22 14:43:10 +02:00
btrfs-inspect-internal.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-map-logical.txt
btrfs-mount.txt btrfs-progs: add X inode flag to btrfs(5) 2014-08-22 14:43:12 +02:00
btrfs-property.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-qgroup.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-quota.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-receive.txt Btrfs-progs: receive, allow to continue after errors happen 2014-08-22 14:39:32 +02:00
btrfs-replace.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-rescue.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-restore.txt btrfs-progs: restore: document updates 2014-08-22 14:43:10 +02:00
btrfs-scrub.txt btrfs-progs: correct manpage option description for scrub 2014-08-22 15:07:01 +02:00
btrfs-send.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-show-super.txt btrfs-progs: update man page for btrfs-show-super 2014-08-22 14:39:33 +02:00
btrfs-subvolume.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfs-zero-log.txt
btrfs.txt btrfs-progs: doc: update the Availability section 2014-05-19 18:04:26 +02:00
btrfstune.txt btrfs-progs: clarify manpage for btrfstune seeding option 2014-08-22 14:39:32 +02:00
fsck.btrfs.txt
manpage-base.xsl
manpage-bold-literal.xsl
manpage-normal.xsl
mkfs.btrfs.txt btrfs-progs: mkfs: allow UUID specification at mkfs time 2014-08-22 14:39:32 +02:00