From: Darrick J. Wong Date: Mon, 25 Sep 2023 21:59:25 +0000 (-0700) Subject: mkfs: enable large extent counts by default X-Git-Tag: v6.5.0~12 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e5b18d7d1d962e942ce3b0a9ccdb5872074e24df;p=xfsprogs-dev.git 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 Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- diff --git a/man/man8/mkfs.xfs.8.in b/man/man8/mkfs.xfs.8.in index 08bb92f65..3a44b92a6 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 d3a15cf44..a3dcc8113 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.