]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commitdiff
man: Update unit for fsx_extsize and fsx_cowextsize
authorJohn Garry <john.g.garry@oracle.com>
Thu, 8 Aug 2024 07:48:33 +0000 (07:48 +0000)
committerCarlos Maiolino <cem@kernel.org>
Mon, 16 Sep 2024 07:12:57 +0000 (09:12 +0200)
The values in fsx_extsize and fsx_cowextsize are in units of bytes, and not
filesystem blocks, so update.

In addition, the default cowextsize is 32 filesystem blocks, not 128, so
fix that as well.

Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
man/man2/ioctl_xfs_fsgetxattr.2

index 2c626a7e37424af8b291ce255bec44e023d1beac..25a9ba7965d11911c14f6d1fdbaf64c213860c79 100644 (file)
@@ -40,7 +40,7 @@ below for more information.
 .PP
 .I fsx_extsize
 is the preferred extent allocation size for data blocks mapped to this file,
-in units of filesystem blocks.
+in units of bytes.
 If this value is zero, the filesystem will choose a default option, which
 is currently zero.
 If
@@ -62,9 +62,9 @@ is the project ID of this file.
 .PP
 .I fsx_cowextsize
 is the preferred extent allocation size for copy on write operations
-targeting this file, in units of filesystem blocks.
+targeting this file, in units of bytes.
 If this field is zero, the filesystem will choose a default option,
-which is currently 128 filesystem blocks.
+which is currently 32 filesystem blocks.
 If
 .B XFS_IOC_FSSETXATTR
 is called with