btrfs-progs: btrfstune: move -b option to experimental build

The option is listed among normal options but getopt does not recognize
it outside of experimental build, so make it consistent. Also mention
the correct version and need of the special build in documentation.

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2022-10-17 15:42:38 +02:00
parent d38e561588
commit 6d6695e2a3
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ OPTIONS
-------
-b
(since kernel 6.0)
(since kernel 6.1, needs experimental build of btrfs-progs)
Enable block group tree feature (greatly reduce mount time),
enabled by mkfs feature *block-group-tree*.

View File

@ -909,7 +909,6 @@ static void print_usage(void)
printf("Tune settings of filesystem features on an unmounted device\n\n");
printf("Options:\n");
printf(" change feature status:\n");
printf("\t-b enable block group tree (mkfs: block-group-tree, for less mount time)\n");
printf("\t-r enable extended inode refs (mkfs: extref, for hardlink limits)\n");
printf("\t-x enable skinny metadata extent refs (mkfs: skinny-metadata)\n");
printf("\t-n enable no-holes feature (mkfs: no-holes, more efficient sparse file representation)\n");
@ -927,6 +926,7 @@ static void print_usage(void)
printf("\nEXPERIMENTAL FEATURES:\n");
printf(" checksum changes:\n");
printf("\t--csum CSUM switch checksum for data and metadata to CSUM\n");
printf("\t-b enable block group tree (mkfs: block-group-tree, for less mount time)\n");
#endif
}