Skip to content

Commit 008d146

Browse files
committed
btrfs-progs: tune: fix simple quota help string and documentation
The option of "-q" is not working, instead only the longer option is supported. And add the missing "--enable-simple-quota" option of man page for btrfstune. Reported-by: Anand Jain <[email protected]> Signed-off-by: Qu Wenruo <[email protected]>
1 parent fe56662 commit 008d146

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Diff for: 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+
Convert to simple-quota feature. This is an alternative to qgroups
49+
with a smaller performance impact but no notion of shared vs. exclusive
50+
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.

Diff for: 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)