Skip to content

Commit 916e0f4

Browse files
boryasadam900710
authored andcommitted
btrfs-progs: btrfstune: fix documentation for --enable-simple-quota
The documentation lists -q as the flag for enabling simple quotas, but the actual parsing only handles --enable-simple-quota. Update the documentation string. Reviewed-by: Anand Jain <[email protected]> Reviewed-by: Qu Wenruo <[email protected]> Signed-off-by: Boris Burkov <[email protected]> [ Add man page entry for `--enable-simple-quota` option ] Signed-off-by: Qu Wenruo <[email protected]>
1 parent 8468ef9 commit 916e0f4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Documentation/btrfstune.rst

+7
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ OPTIONS
4242

4343
Convert to free-space-tree feature (v2 of space cache).
4444

45+
--enable-simple-quota
46+
(since kernel 6.7)
47+
48+
Enable simple quota accounting (*squota* mkfs feature). This is an
49+
alternative to qgroups with a smaller performance impact but no notion
50+
of shared vs. exclusive usage.
51+
4552
-f
4653
Allow dangerous changes, e.g. clear the seeding flag or change fsid.
4754
Make sure that you are aware of the dangers.

tune/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static const char * const tune_usage[] = {
103103
OPTLINE("-x", "enable skinny metadata extent refs (mkfs: skinny-metadata)"),
104104
OPTLINE("-n", "enable no-holes feature (mkfs: no-holes, more efficient sparse file representation)"),
105105
OPTLINE("-S <0|1>", "set/unset seeding status of a device"),
106-
OPTLINE("-q", "enable simple quotas on the file system. (mkfs: squota)"),
106+
OPTLINE("--enable-simple-quota", "enable simple quotas on the file system. (mkfs: squota)"),
107107
OPTLINE("--convert-to-block-group-tree", "convert filesystem to track block groups in "
108108
"the separate block-group-tree instead of extent tree (sets the incompat bit)"),
109109
OPTLINE("--convert-from-block-group-tree",

0 commit comments

Comments
 (0)