man: Update unit for fsx_extsize and fsx_cowextsize
PATCH 1/1 man: Update unit for fsx_extsize and fsx_cowextsize
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.
man/man2/ioctl_xfs_fsgetxattr.2 +3 -3
@@ -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
Signature · 1 line
2.31.1
Quoted 7 lines · John Garry
The values in
fsx_extsizeandfsx_cowextsizeare 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 <[email protected]>
Yep, that's been wrong for a while. :(
Thanks for fixing the docs,
--D
Quoted 30 lines
man/man2/ioctl_xfs_fsgetxattr.2 +3
-3@@ -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 withSignature · 1 line
2.31.1
Quoted 7 lines · John Garry
The values in
fsx_extsizeandfsx_cowextsizeare 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 <[email protected]>
Has this change been missed?
Cheers,
John
Quoted 26 lines
man/man2/ioctl_xfs_fsgetxattr.2 +3
-3@@ -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
Quoted 10 lines · John Garry
Quoted 7 lines · John Garry
The values in
fsx_extsizeandfsx_cowextsizeare 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 <[email protected]>Has this change been missed?
Yup, I'll add it to the next release.
Carlos.
Quoted 32 lines
Cheers,
JohnQuoted 26 lines
man/man2/ioctl_xfs_fsgetxattr.2 +3
-3@@ -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