Skip to contentSkip to conversation

mkfs: Update agsize description in the man page

PATCH In review [email protected] 3 participants 3 messages Sep 18, 2023 – Sep 19, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mkfs: Update agsize description in the man page

From: Carlos Maiolino <[email protected]>

agsize value accept different suffixes, including filesystem blocks, so, replace "expressed in bytes" by "expressed as a multiple of filesystem blocks".

---
 man/man8/mkfs.xfs.8.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
man/man8/mkfs.xfs.8.in +3 -4
index 08bb92f65..96c07fc71 100644
@@ -352,12 +352,11 @@ This is an alternative to using the
 .B agcount
 suboption. The
 .I value
-is the desired size of the allocation group expressed in bytes
-(usually using the
+is the desired size of the allocation group expressed as a multiple of the
+filesystem block size (usually using the
 .BR m " or " g
 suffixes).
-This value must be a multiple of the filesystem block size, and
-must be at least 16MiB, and no more than 1TiB, and may
+It must be at least 16MiB, and no more than 1TiB, and may
 be automatically adjusted to properly align with the stripe geometry.
 The
 .B agcount
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 8 lines · On Mon, Sep 18, 2023 at 04:26:04PM +0200, [email protected] wrote:

From: Carlos Maiolino <[email protected]>

agsize value accept different suffixes, including filesystem blocks, so, replace "expressed in bytes" by "expressed as a multiple of filesystem blocks".

Quoted 27 lines
---
 man/man8/mkfs.xfs.8.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
man/man8/mkfs.xfs.8.in +3 -4
index 08bb92f65..96c07fc71 100644
@@ -352,12 +352,11 @@ This is an alternative to using the
 .B agcount
 suboption. The
 .I value
-is the desired size of the allocation group expressed in bytes
-(usually using the
+is the desired size of the allocation group expressed as a multiple of the
+filesystem block size (usually using the
 .BR m " or " g
 suffixes).
-This value must be a multiple of the filesystem block size, and
-must be at least 16MiB, and no more than 1TiB, and may
+It must be at least 16MiB, and no more than 1TiB, and may
 be automatically adjusted to properly align with the stripe geometry.
 The
 .B agcount
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#2 lore raw
In reply to [email protected]
Quoted 8 lines · On Mon, Sep 18, 2023 at 04:26:04PM +0200, [email protected] wrote:

From: Carlos Maiolino <[email protected]>

agsize value accept different suffixes, including filesystem blocks, so, replace "expressed in bytes" by "expressed as a multiple of filesystem blocks".

LGTM

--D

Quoted 27 lines
---
 man/man8/mkfs.xfs.8.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
man/man8/mkfs.xfs.8.in +3 -4
index 08bb92f65..96c07fc71 100644
@@ -352,12 +352,11 @@ This is an alternative to using the
 .B agcount
 suboption. The
 .I value
-is the desired size of the allocation group expressed in bytes
-(usually using the
+is the desired size of the allocation group expressed as a multiple of the
+filesystem block size (usually using the
 .BR m " or " g
 suffixes).
-This value must be a multiple of the filesystem block size, and
-must be at least 16MiB, and no more than 1TiB, and may
+It must be at least 16MiB, and no more than 1TiB, and may
 be automatically adjusted to properly align with the stripe geometry.
 The
 .B agcount
Signature · 1 line
2.39.2