diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-09-25 14:59:25 -0700 |
---|---|---|
committer | Carlos Maiolino <cem@kernel.org> | 2023-10-05 14:57:19 +0200 |
commit | e5b18d7d1d962e942ce3b0a9ccdb5872074e24df (patch) | |
tree | 21a78c604b126911fabb145fc31de4315ddd7318 | |
parent | 4a9f92d023934ca6d436c8ca0e7a62702540a4ba (diff) | |
download | xfsprogs-dev-e5b18d7d1d962e942ce3b0a9ccdb5872074e24df.tar.gz |
mkfs: enable large extent counts by default
Format filesystems with the large extent counter feature turned on.
We shall now support 64-bit extent counts for the data fork and 32-bit
extent counts for the attr fork.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
-rw-r--r-- | man/man8/mkfs.xfs.8.in | 7 | ||||
-rw-r--r-- | mkfs/xfs_mkfs.c | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/man/man8/mkfs.xfs.8.in b/man/man8/mkfs.xfs.8.in index 08bb92f652..3a44b92a6a 100644 --- a/man/man8/mkfs.xfs.8.in +++ b/man/man8/mkfs.xfs.8.in @@ -638,9 +638,10 @@ free space conditions. .TP .BI nrext64[= value] Extend maximum values of inode data and attr fork extent counters from 2^31 - -1 and 2^15 - 1 to 2^48 - 1 and 2^32 - 1 respectively. If the value is -omitted, 1 is assumed. This feature is disabled by default. This feature is -only available for filesystems formatted with -m crc=1. +1 and 2^15 - 1 to 2^48 - 1 and 2^32 - 1 respectively. +If the value is omitted, 1 is assumed. +This feature will be enabled when possible. +This feature is only available for filesystems formatted with -m crc=1. .TP .RE .PP diff --git a/mkfs/xfs_mkfs.c b/mkfs/xfs_mkfs.c index d3a15cf44e..a3dcc81130 100644 --- a/mkfs/xfs_mkfs.c +++ b/mkfs/xfs_mkfs.c @@ -4141,7 +4141,7 @@ main( .nodalign = false, .nortalign = false, .bigtime = true, - .nrext64 = false, + .nrext64 = true, /* * When we decide to enable a new feature by default, * please remember to update the mkfs conf files. |