From 9f80562538e6301b136fb30b6f56c85e4e989f89cbde48eed865432f6ddac6bc Mon Sep 17 00:00:00 2001 From: Jan Kara Date: Wed, 8 Feb 2023 12:21:46 +0000 Subject: [PATCH] Accepting request 1063788 from home:polslinux:branches:filesystems - Update to 1.47.0: * Add support for the orphan_file feature, which speeds up workloads that are deleting or truncating a large number files in parallel. This compat feature was first supported in the v5.15 Linux kernel. * The mke2fs program (via the mke2fs.conf file) now enables the metadata_csum_seed and orphan_file features by default. The metadata_csum_seed feature is an incompat feature which is first supported in the Linux kernel starting in the 4.4 kernel. * Mke2fs now supports the extended option "assume_storage_prezeroed" which causes mke2fs to skip zeroing the journal and inode tables and to mark the inode tables as zeroed. * Add support to tune2fs and e2label to set the label and UUID for a mounted file system using a ioctl, which is more reliable than modifying the superblock via writing to the block device. The kernel support for setting the label landed in v5.17, while the support for adding the UUID landed in v6.0. If the ioctls are not supported, tune2fs and e2label will fall back old strategy of directly modifying the superblock. * Allow tune2fs to disable the casefold feature after scanning all of the directories do not have the Casefold flag set. OBS-URL: https://build.opensuse.org/request/show/1063788 OBS-URL: https://build.opensuse.org/package/show/filesystems/e2fsprogs?expand=0&rev=154 --- e2fsprogs-1.42-ext2fsh_implicit.patch | 2 +- e2fsprogs-1.42-implicit_fortify_decl.patch | 2 +- e2fsprogs-1.46.5.tar.sign | Bin 310 -> 0 bytes e2fsprogs-1.46.5.tar.xz | 3 --- e2fsprogs-1.47.0.tar.sign | Bin 0 -> 310 bytes e2fsprogs-1.47.0.tar.xz | 3 +++ e2fsprogs.changes | 24 +++++++++++++++++++++ e2fsprogs.spec | 2 +- harden_e2scrub_all.service.patch | 6 +++--- harden_e2scrub_fail@.service.patch | 6 +++--- harden_e2scrub_reap.service.patch | 6 +++--- libcom_err-compile_et_permissions.patch | 8 +++---- 12 files changed, 43 insertions(+), 19 deletions(-) delete mode 100644 e2fsprogs-1.46.5.tar.sign delete mode 100644 e2fsprogs-1.46.5.tar.xz create mode 100644 e2fsprogs-1.47.0.tar.sign create mode 100644 e2fsprogs-1.47.0.tar.xz diff --git a/e2fsprogs-1.42-ext2fsh_implicit.patch b/e2fsprogs-1.42-ext2fsh_implicit.patch index 84d5220..d42b7e9 100644 --- a/e2fsprogs-1.42-ext2fsh_implicit.patch +++ b/e2fsprogs-1.42-ext2fsh_implicit.patch @@ -2,7 +2,7 @@ Index: lib/ext2fs/ext2fs.h =================================================================== --- lib/ext2fs/ext2fs.h.orig +++ lib/ext2fs/ext2fs.h -@@ -62,6 +62,7 @@ extern "C" { +@@ -74,6 +74,7 @@ extern "C" { #include #include #include diff --git a/e2fsprogs-1.42-implicit_fortify_decl.patch b/e2fsprogs-1.42-implicit_fortify_decl.patch index d942fe4..b56b45f 100644 --- a/e2fsprogs-1.42-implicit_fortify_decl.patch +++ b/e2fsprogs-1.42-implicit_fortify_decl.patch @@ -2,7 +2,7 @@ Index: lib/ext2fs/mmp.c =================================================================== --- lib/ext2fs/mmp.c.orig +++ lib/ext2fs/mmp.c -@@ -27,6 +27,13 @@ +@@ -30,6 +30,13 @@ #include "ext2fs/ext2_fs.h" #include "ext2fs/ext2fs.h" diff --git a/e2fsprogs-1.46.5.tar.sign b/e2fsprogs-1.46.5.tar.sign deleted file mode 100644 index 3cb97a91292a034598c80547f84387b331125b3852c7deb9f1ee479ebdd784c3..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 310 zcmV-60m=S}0W$;u0SEvc79j*HX}MI}{s?&}fj7zW`B_$#4S}Nt0%6VBWdI5Z5c2t1 zR+SBbqX$$6{xpIgQR+UW7w{HLWbs9sB4?7>z8nw?JXhrXz$#Bo IGWMEtFGj?WasU7T diff --git a/e2fsprogs-1.46.5.tar.xz b/e2fsprogs-1.46.5.tar.xz deleted file mode 100644 index cab8be1..0000000 --- a/e2fsprogs-1.46.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f16c9176704cf645dc69d5b15ff704ae722d665df38b2ed3cfc249757d8d81e -size 7040672 diff --git a/e2fsprogs-1.47.0.tar.sign b/e2fsprogs-1.47.0.tar.sign new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..65b3a6f6dd1481cf32ae44983048466715b03826900fbb7ddf0751860fc6886f GIT binary patch literal 310 zcmV-60m=S}0W$;u0SEvc79j*HX}MI}{s?&}fj7zW`B_$#4S}Nt0%PII4gd-X5c2t1 zR+SBbqskfx0D&~ixEiZwel6cjEp4>lFBp)vpH7_6XpY9((n(>vY@4FujC0%4@)X5f zguJWMOql+Akg>&(lr7GSq7K~02RL9#vGXD3T3Sh^2Y9Lfp<@hnu4-Lu8su7`r;(qJ zdT1B7WJ0o$;o)tI#Usm6kkDiguF%xmJ$YuBr~4M$UF>!xat+aHy2WCcLrqMqg1Buw zx=;X# + +- Update to 1.47.0: + * Add support for the orphan_file feature, which speeds up workloads + that are deleting or truncating a large number files in parallel. + This compat feature was first supported in the v5.15 Linux kernel. + * The mke2fs program (via the mke2fs.conf file) now enables the + metadata_csum_seed and orphan_file features by default. + The metadata_csum_seed feature is an incompat feature which is + first supported in the Linux kernel starting in the 4.4 kernel. + * Mke2fs now supports the extended option "assume_storage_prezeroed" + which causes mke2fs to skip zeroing the journal and inode tables + and to mark the inode tables as zeroed. + * Add support to tune2fs and e2label to set the label and UUID for + a mounted file system using a ioctl, which is more reliable than + modifying the superblock via writing to the block device. + The kernel support for setting the label landed in v5.17, while + the support for adding the UUID landed in v6.0. If the ioctls + are not supported, tune2fs and e2label will fall back old + strategy of directly modifying the superblock. + * Allow tune2fs to disable the casefold feature after scanning all + of the directories do not have the Casefold flag set. + ------------------------------------------------------------------- Tue Dec 27 10:34:50 UTC 2022 - Ludwig Nussel diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 08f8513..4115b2d 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -32,7 +32,7 @@ Summary: FUSE file system client for ext2/ext3/ext4 file systems License: MIT BuildRequires: fuse-devel %endif -Version: 1.46.5 +Version: 1.47.0 Release: 0 Group: System/Filesystems URL: http://e2fsprogs.sourceforge.net diff --git a/harden_e2scrub_all.service.patch b/harden_e2scrub_all.service.patch index ac4b4e8..45dfdb8 100644 --- a/harden_e2scrub_all.service.patch +++ b/harden_e2scrub_all.service.patch @@ -1,7 +1,7 @@ -Index: e2fsprogs-1.46.3/scrub/e2scrub_all.service.in +Index: e2fsprogs-1.47.0/scrub/e2scrub_all.service.in =================================================================== ---- e2fsprogs-1.46.3.orig/scrub/e2scrub_all.service.in -+++ e2fsprogs-1.46.3/scrub/e2scrub_all.service.in +--- e2fsprogs-1.47.0.orig/scrub/e2scrub_all.service.in ++++ e2fsprogs-1.47.0/scrub/e2scrub_all.service.in @@ -6,6 +6,17 @@ ConditionCapability=CAP_SYS_RAWIO Documentation=man:e2scrub_all(8) diff --git a/harden_e2scrub_fail@.service.patch b/harden_e2scrub_fail@.service.patch index 2c31fc2..2fdb1ff 100644 --- a/harden_e2scrub_fail@.service.patch +++ b/harden_e2scrub_fail@.service.patch @@ -1,7 +1,7 @@ -Index: e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in +Index: e2fsprogs-1.47.0/scrub/e2scrub_fail@.service.in =================================================================== ---- e2fsprogs-1.46.3.orig/scrub/e2scrub_fail@.service.in -+++ e2fsprogs-1.46.3/scrub/e2scrub_fail@.service.in +--- e2fsprogs-1.47.0.orig/scrub/e2scrub_fail@.service.in ++++ e2fsprogs-1.47.0/scrub/e2scrub_fail@.service.in @@ -3,6 +3,17 @@ Description=Online ext4 Metadata Check F Documentation=man:e2scrub(8) diff --git a/harden_e2scrub_reap.service.patch b/harden_e2scrub_reap.service.patch index f26f378..c6f1633 100644 --- a/harden_e2scrub_reap.service.patch +++ b/harden_e2scrub_reap.service.patch @@ -1,7 +1,7 @@ -Index: e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in +Index: e2fsprogs-1.47.0/scrub/e2scrub_reap.service.in =================================================================== ---- e2fsprogs-1.46.3.orig/scrub/e2scrub_reap.service.in -+++ e2fsprogs-1.46.3/scrub/e2scrub_reap.service.in +--- e2fsprogs-1.47.0.orig/scrub/e2scrub_reap.service.in ++++ e2fsprogs-1.47.0/scrub/e2scrub_reap.service.in @@ -11,6 +11,15 @@ PrivateNetwork=true ProtectSystem=true ProtectHome=read-only diff --git a/libcom_err-compile_et_permissions.patch b/libcom_err-compile_et_permissions.patch index ba08048..2b148e8 100644 --- a/libcom_err-compile_et_permissions.patch +++ b/libcom_err-compile_et_permissions.patch @@ -1,8 +1,8 @@ -Index: e2fsprogs-1.42.13/lib/et/compile_et.sh.in +Index: e2fsprogs-1.47.0/lib/et/compile_et.sh.in =================================================================== ---- e2fsprogs-1.42.13.orig/lib/et/compile_et.sh.in -+++ e2fsprogs-1.42.13/lib/et/compile_et.sh.in -@@ -51,7 +51,7 @@ if test -f ${BASE}.h && cmp -s ${BASE}.h +--- e2fsprogs-1.47.0.orig/lib/et/compile_et.sh.in ++++ e2fsprogs-1.47.0/lib/et/compile_et.sh.in +@@ -49,7 +49,7 @@ if test -f ${BASE}.h && cmp -s ${BASE}.h rm -f ${BASE}.h.$$ else mv -f ${BASE}.h.$$ ${BASE}.h