From 765809a0df333210a1d5b4f4103950b3af5d0eb3 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Wed, 23 Nov 2022 09:09:44 -0800 Subject: [PATCH] mkfs.xfs: add mkfs config file for the 6.1 LTS kernel Add a new mkfs config file to reflect the default featureset for the 6.1 LTS release. Signed-off-by: Darrick J. Wong Reviewed-by: Carlos Maiolino Signed-off-by: Carlos Maiolino --- mkfs/Makefile | 3 ++- mkfs/lts_6.1.conf | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 mkfs/lts_6.1.conf diff --git a/mkfs/Makefile b/mkfs/Makefile index 55d9362f6..6c7ee186f 100644 --- a/mkfs/Makefile +++ b/mkfs/Makefile @@ -14,7 +14,8 @@ CFGFILES = \ lts_4.19.conf \ lts_5.4.conf \ lts_5.10.conf \ - lts_5.15.conf + lts_5.15.conf \ + lts_6.1.conf LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBFROG) $(LIBRT) $(LIBBLKID) \ $(LIBUUID) $(LIBINIH) $(LIBURCU) $(LIBPTHREAD) diff --git a/mkfs/lts_6.1.conf b/mkfs/lts_6.1.conf new file mode 100644 index 000000000..08bbe9f3c --- /dev/null +++ b/mkfs/lts_6.1.conf @@ -0,0 +1,14 @@ +# V5 features that were the mkfs defaults when the upstream Linux 6.1 LTS +# kernel was released at the end of 2022. + +[metadata] +nrext64=0 +bigtime=1 +crc=1 +finobt=1 +inobtcount=1 +reflink=1 +rmapbt=0 + +[inode] +sparse=1 -- 2.47.3