From 1e8897d53374026aa4fc76e7d70d73bac85fe668 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Mon, 25 Sep 2023 14:59:36 -0700 Subject: [PATCH] mkfs: add a config file for 6.6 LTS kernels Enable 64-bit extent counts and reverse mapping for 6.6. Signed-off-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- 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 6c7ee186f..a0c168e38 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 000000000..244f8eaf7 --- /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 -- 2.47.3