]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commitdiff
mkfs: enable large extent counts by default
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Sep 2023 21:59:25 +0000 (14:59 -0700)
committerCarlos Maiolino <cem@kernel.org>
Thu, 5 Oct 2023 12:57:19 +0000 (14:57 +0200)
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>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c

index 08bb92f6522dfb244d8e6e3d4479c57ceb335bb3..3a44b92a6a044cced814a6b7561b96e0c5dcee8e 100644 (file)
@@ -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
index d3a15cf44e0029be66c8896bf7061a51b9c284c3..a3dcc811304a99c1314127ee54ea27a95401f27f 100644 (file)
@@ -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.