[PATCH 1/3] mkfs: enable large extent counts by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Darrick J. Wong <djwong@xxxxxxxxxx>

Format filesystems with the large extent counter feature turned on.

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
---
 man/man8/mkfs.xfs.8.in |    7 ++++---
 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 211e7b0c..4c379549 100644
--- a/man/man8/mkfs.xfs.8.in
+++ b/man/man8/mkfs.xfs.8.in
@@ -645,9 +645,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 d3f34ef8..f355e416 100644
--- a/mkfs/xfs_mkfs.c
+++ b/mkfs/xfs_mkfs.c
@@ -4092,7 +4092,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.




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux