mkfs: add configuration files for the last few LTS kernels
PATCH 1/1 mkfs: add configuration files for the last few LTS kernels
From: Darrick J. Wong <[email protected]>
Add some sample mkfs configuration files that capture the mkfs feature defaults at the time of the release of the last three upstream LTS kernels.
Signed-off-by Darrick J. Wong <[email protected]>
--- include/builddefs.in | 1 + mkfs/Makefile | 6 +++++- mkfs/lts_4.19.conf | 13 +++++++++++++ mkfs/lts_5.10.conf | 13 +++++++++++++ mkfs/lts_5.15.conf | 13 +++++++++++++ 5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 mkfs/lts_4.19.conf create mode 100644 mkfs/lts_5.10.conf create mode 100644 mkfs/lts_5.15.conf
include/builddefs.in +1 -0
@@ -66,6 +66,7 @@ DK_INC_DIR = @includedir@/disk PKG_MAN_DIR = @mandir@ PKG_DOC_DIR = @datadir@/doc/@pkg_name@ PKG_LOCALE_DIR = @datadir@/locale +PKG_DATA_DIR = @datadir@/@pkg_name@ CC = @cc@ BUILD_CC = @BUILD_CC@
mkfs/Makefile +5 -1
@@ -9,19 +9,23 @@ LTCOMMAND = mkfs.xfs HFILES = CFILES = proto.c xfs_mkfs.c +CFGFILES = lts_4.19.conf lts_5.10.conf lts_5.15.conf LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBFROG) $(LIBRT) $(LIBPTHREAD) $(LIBBLKID) \ $(LIBUUID) $(LIBINIH) $(LIBURCU) LTDEPENDENCIES += $(LIBXFS) $(LIBXCMD) $(LIBFROG) LLDFLAGS = -static-libtool-libs -default: depend $(LTCOMMAND) +default: depend $(LTCOMMAND) $(CFGFILES) include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR) $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR) + $(INSTALL) -m 755 -d $(PKG_DATA_DIR)/mkfs + $(INSTALL) -m 644 $(CFGFILES) $(PKG_DATA_DIR)/mkfs + install-dev: -include .dep
mkfs/lts_4.19.conf new file +13 -0
@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 4.19 LTS +# kernel was released at the end of 2019. + +[metadata] +bigtime=0 +crc=1 +finobt=1 +inobtcount=0 +reflink=0 +rmapbt=0 + +[inode] +sparse=1
mkfs/lts_5.10.conf new file +13 -0
@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 5.10 LTS +# kernel was released at the end of 2020. + +[metadata] +bigtime=0 +crc=1 +finobt=1 +inobtcount=0 +reflink=1 +rmapbt=0 + +[inode] +sparse=1
mkfs/lts_5.15.conf new file +13 -0
@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 5.15 LTS +# kernel was released at the end of 2021. + +[metadata] +bigtime=1 +crc=1 +finobt=1 +inobtcount=1 +reflink=1 +rmapbt=0 + +[inode] +sparse=1
Darrick J. Wong
NAKQuoted 6 lines · Darrick J. Wong
From: Darrick J. Wong <[email protected]>
Add some sample mkfs configuration files that capture the mkfs feature defaults at the time of the release of the last three upstream LTS kernels.
Quoted 7 lines
Signed-off-by Darrick J. Wong <[email protected]>--- include/builddefs.in | 1 + mkfs/Makefile | 6 +++++- mkfs/lts_4.19.conf | 13 +++++++++++++ mkfs/lts_5.10.conf | 13 +++++++++++++ mkfs/lts_5.15.conf | 13 +++++++++++++
NAK, this is missing a config file for 5.4.
Also Eric prodded me to add a comment to the default feature config structure definition reminding people to keep the conffiles up to date.
v2 on its way...
--D
Quoted 103 lines
5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 mkfs/lts_4.19.conf create mode 100644 mkfs/lts_5.10.conf create mode 100644 mkfs/lts_5.15.confinclude/builddefs.in +1
-0@@ -66,6 +66,7 @@ DK_INC_DIR = @includedir@/disk PKG_MAN_DIR = @mandir@ PKG_DOC_DIR = @datadir@/doc/@pkg_name@ PKG_LOCALE_DIR = @datadir@/locale +PKG_DATA_DIR = @datadir@/@pkg_name@ CC = @cc@ BUILD_CC = @BUILD_CC@mkfs/Makefile +5
-1@@ -9,19 +9,23 @@ LTCOMMAND = mkfs.xfs HFILES = CFILES = proto.c xfs_mkfs.c +CFGFILES = lts_4.19.conf lts_5.10.conf lts_5.15.conf LLDLIBS += $(LIBXFS) $(LIBXCMD) $(LIBFROG) $(LIBRT) $(LIBPTHREAD) $(LIBBLKID) \ $(LIBUUID) $(LIBINIH) $(LIBURCU) LTDEPENDENCIES += $(LIBXFS) $(LIBXCMD) $(LIBFROG) LLDFLAGS = -static-libtool-libs -default: depend $(LTCOMMAND) +default: depend $(LTCOMMAND) $(CFGFILES) include $(BUILDRULES) install: default $(INSTALL) -m 755 -d $(PKG_ROOT_SBIN_DIR) $(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_ROOT_SBIN_DIR) + $(INSTALL) -m 755 -d $(PKG_DATA_DIR)/mkfs + $(INSTALL) -m 644 $(CFGFILES) $(PKG_DATA_DIR)/mkfs + install-dev: -include .depmkfs/lts_4.19.conf new file +13
-0@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 4.19 LTS +# kernel was released at the end of 2019. + +[metadata] +bigtime=0 +crc=1 +finobt=1 +inobtcount=0 +reflink=0 +rmapbt=0 + +[inode] +sparse=1mkfs/lts_5.10.conf new file +13
-0@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 5.10 LTS +# kernel was released at the end of 2020. + +[metadata] +bigtime=0 +crc=1 +finobt=1 +inobtcount=0 +reflink=1 +rmapbt=0 + +[inode] +sparse=1mkfs/lts_5.15.conf new file +13
-0@@ -0,0 +1,13 @@ +# V5 features that were the mkfs defaults when the upstream Linux 5.15 LTS +# kernel was released at the end of 2021. + +[metadata] +bigtime=1 +crc=1 +finobt=1 +inobtcount=1 +reflink=1 +rmapbt=0 + +[inode] +sparse=1