[PATCH 3/3] mkfs: add a config file for 6.6 LTS kernels

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

 



From: Darrick J. Wong <djwong@xxxxxxxxxx>

Enable 64-bit extent counts and reverse mapping for 6.6.

Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx>
---
 mkfs/Makefile     |    3 ++-
 mkfs/lts_6.6.conf |   14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 mkfs/lts_6.6.conf


diff --git a/mkfs/Makefile b/mkfs/Makefile
index 6c7ee186fa2..a0c168e3815 100644
--- a/mkfs/Makefile
+++ b/mkfs/Makefile
@@ -15,7 +15,8 @@ CFGFILES = \
 	lts_5.4.conf \
 	lts_5.10.conf \
 	lts_5.15.conf \
-	lts_6.1.conf
+	lts_6.1.conf \
+	lts_6.6.conf
 
 LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBFROG) $(LIBRT) $(LIBBLKID) \
 	$(LIBUUID) $(LIBINIH) $(LIBURCU) $(LIBPTHREAD)
diff --git a/mkfs/lts_6.6.conf b/mkfs/lts_6.6.conf
new file mode 100644
index 00000000000..244f8eaf764
--- /dev/null
+++ b/mkfs/lts_6.6.conf
@@ -0,0 +1,14 @@
+# V5 features that were the mkfs defaults when the upstream Linux 6.6 LTS
+# kernel was released at the end of 2023.
+
+[metadata]
+bigtime=1
+crc=1
+finobt=1
+inobtcount=1
+reflink=1
+rmapbt=1
+
+[inode]
+sparse=1
+nrext64=1




[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