From: "Darrick J. Wong" <djwong@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: cem@kernel.org, linux-xfs@vger.kernel.org
Subject: [RFC PATCH 2/2] debian: create a new package for automatic self-healing
Date: Tue, 16 Jul 2024 09:49:59 -0700 [thread overview]
Message-ID: <20240716164959.GD612460@frogsfrogsfrogs> (raw)
In-Reply-To: <20240716164714.GC612460@frogsfrogsfrogs>
From: Darrick J. Wong <djwong@kernel.org>
Create a new package for people who explicilty want self-healing turned
on by default for XFS. This package is named xfsprogs-self-healing.
Note: This introduces a new "install-selfheal" target to install only
the files needed for enabling online fsck by default. Other
distributions should take note of the new target if they choose to
create a package for enabling autonomous self healing.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
---
Makefile | 8 +++++++-
copy/Makefile | 2 ++
db/Makefile | 2 ++
debian/Makefile | 2 ++
debian/control | 8 ++++++++
debian/rules | 13 +++++++++----
doc/Makefile | 3 +++
estimate/Makefile | 2 ++
fsck/Makefile | 3 +++
fsr/Makefile | 2 ++
growfs/Makefile | 2 ++
include/Makefile | 3 +++
io/Makefile | 2 ++
libfrog/Makefile | 2 ++
libhandle/Makefile | 2 ++
libxcmd/Makefile | 2 ++
libxfs/Makefile | 3 +++
libxlog/Makefile | 2 ++
logprint/Makefile | 2 ++
m4/Makefile | 2 ++
man/Makefile | 2 ++
mdrestore/Makefile | 2 ++
mkfs/Makefile | 2 ++
po/Makefile | 3 +++
quota/Makefile | 2 ++
repair/Makefile | 2 ++
rtcp/Makefile | 2 ++
scrub/Makefile | 12 ++++++++++--
spaceman/Makefile | 2 ++
29 files changed, 89 insertions(+), 7 deletions(-)
diff --git a/Makefile b/Makefile
index 715cc212d686..b263a2dc98aa 100644
--- a/Makefile
+++ b/Makefile
@@ -116,7 +116,7 @@ configure: configure.ac
include/builddefs: configure
./configure $$LOCAL_CONFIGURE_OPTIONS
-install: install-pkg
+install: install-pkg install-selfheal
install-pkg: $(addsuffix -install-pkg,$(SUBDIRS))
$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
@@ -124,6 +124,8 @@ install-pkg: $(addsuffix -install-pkg,$(SUBDIRS))
install-dev: $(addsuffix -install-dev,$(SUBDIRS))
+install-selfheal: $(addsuffix -install-selfheal,$(SUBDIRS))
+
%-install-pkg:
@echo "Installing $@"
$(Q)$(MAKE) $(MAKEOPTS) -C $* install-pkg
@@ -132,6 +134,10 @@ install-dev: $(addsuffix -install-dev,$(SUBDIRS))
@echo "Installing $@"
$(Q)$(MAKE) $(MAKEOPTS) -C $* install-dev
+%-install-selfheal:
+ @echo "Installing $@"
+ $(Q)$(MAKE) $(MAKEOPTS) -C $* install-selfheal
+
distclean: clean
$(Q)rm -f $(LDIRT)
diff --git a/copy/Makefile b/copy/Makefile
index 446d38bea576..3013dc2dca27 100644
--- a/copy/Makefile
+++ b/copy/Makefile
@@ -25,4 +25,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/db/Makefile b/db/Makefile
index 91e259044beb..839c51f03593 100644
--- a/db/Makefile
+++ b/db/Makefile
@@ -91,4 +91,6 @@ install-pkg: default
$(INSTALL) -m 755 xfs_metadump.sh $(PKG_SBIN_DIR)/xfs_metadump
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/debian/Makefile b/debian/Makefile
index f6a996e91871..104d7c5d76d9 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -36,3 +36,5 @@ ifeq ($(PKG_DISTRIBUTION), debian)
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(INSTALL) -m 755 $(BOOT_MKFS_BIN) $(PKG_SBIN_DIR)/mkfs.xfs
endif
+
+install-selfheal: default
diff --git a/debian/control b/debian/control
index 31773e53a19a..aa7a920a7964 100644
--- a/debian/control
+++ b/debian/control
@@ -27,6 +27,14 @@ Description: Utilities for managing the XFS filesystem
Refer to the documentation at https://xfs.wiki.kernel.org/
for complete details.
+Package: xfsprogs-self-healing
+Depends: ${shlibs:Depends}, ${misc:Depends}, xfsprogs, systemd, udev
+Architecture: linux-any
+Description: Automatic self healing for the XFS filesystem
+ A set of background services for the XFS filesystem to make it
+ find and fix corruptions automatically. These services are activated
+ automatically upon installation of this package.
+
Package: xfslibs-dev
Section: libdevel
Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0), ${misc:Depends}
diff --git a/debian/rules b/debian/rules
index bc1ffd76333b..b9faa203bb69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,6 +14,7 @@ endif
package = xfsprogs
develop = xfslibs-dev
bootpkg = xfsprogs-udeb
+healpkg = xfsprogs-self-healing
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -26,9 +27,11 @@ udebpkg = $(bootpkg)_$(version)_$(target).udeb
dirme = debian/$(package)
dirdev = debian/$(develop)
dirdi = debian/$(bootpkg)
-pkgme = DIST_ROOT=`pwd`/$(dirme); export DIST_ROOT;
-pkgdev = DIST_ROOT=`pwd`/$(dirdev); export DIST_ROOT;
-pkgdi = DIST_ROOT=`pwd`/$(dirdi); export DIST_ROOT;
+dirheal= debian/$(healpkg)
+pkgme = DIST_ROOT=`pwd`/$(dirme); export DIST_ROOT;
+pkgdev = DIST_ROOT=`pwd`/$(dirdev); export DIST_ROOT;
+pkgdi = DIST_ROOT=`pwd`/$(dirdi); export DIST_ROOT;
+pkgheal= DIST_ROOT=`pwd`/$(dirheal); export DIST_ROOT;
stdenv = @GZIP=-q; export GZIP;
configure_options = \
@@ -103,6 +106,7 @@ binary-arch: checkroot built
$(pkgme) $(MAKE) -C . install-pkg
$(pkgdev) $(MAKE) -C . install-dev
$(pkgdi) $(MAKE) -C debian install-d-i
+ $(pkgheal) $(MAKE) -C . install-selfheal
#$(pkgme) $(MAKE) dist
install -D -m 0755 debian/local/initramfs.hook debian/xfsprogs/usr/share/initramfs-tools/hooks/xfs
rmdir debian/xfslibs-dev/usr/share/doc/xfsprogs
@@ -114,7 +118,8 @@ binary-arch: checkroot built
dh_compress
dh_fixperms
dh_makeshlibs
- dh_installsystemd -p xfsprogs --no-enable --no-start --no-restart-after-upgrade --no-stop-on-upgrade
+ dh_installsystemd -p xfsprogs --no-restart-after-upgrade --no-stop-on-upgrade system-xfs_scrub.slice
+ dh_installsystemd -p xfsprogs-self-healing --no-restart-after-upgrade --no-stop-on-upgrade xfs_scrub_all.timer
dh_installdeb
dh_shlibdeps
dh_gencontrol
diff --git a/doc/Makefile b/doc/Makefile
index ad6749b8d0be..a6ec65f5edc0 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -26,3 +26,6 @@ ifeq ($(PKG_DISTRIBUTION), debian)
endif
install-dev:
+
+install-selfheal:
+
diff --git a/estimate/Makefile b/estimate/Makefile
index d5f8a6d81d65..4fce3463d55c 100644
--- a/estimate/Makefile
+++ b/estimate/Makefile
@@ -19,4 +19,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/fsck/Makefile b/fsck/Makefile
index ccba7f0b6892..33fca9e18fb0 100644
--- a/fsck/Makefile
+++ b/fsck/Makefile
@@ -17,3 +17,6 @@ install-pkg: default
$(INSTALL) -m 755 -d $(PKG_SBIN_DIR)
$(INSTALL) -m 755 xfs_fsck.sh $(PKG_SBIN_DIR)/fsck.xfs
install-dev:
+
+install-selfheal:
+
diff --git a/fsr/Makefile b/fsr/Makefile
index 3ad9f6d824c6..da32bc531970 100644
--- a/fsr/Makefile
+++ b/fsr/Makefile
@@ -22,4 +22,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/growfs/Makefile b/growfs/Makefile
index e0ab870bd6ba..61d184328cf6 100644
--- a/growfs/Makefile
+++ b/growfs/Makefile
@@ -30,4 +30,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/include/Makefile b/include/Makefile
index 23727fccfdcd..c18ab35a9861 100644
--- a/include/Makefile
+++ b/include/Makefile
@@ -64,3 +64,6 @@ install-pkg: default
install-dev: install
$(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)
+
+install-selfheal:
+
diff --git a/io/Makefile b/io/Makefile
index d035420b555c..70c95a5c1425 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -95,4 +95,6 @@ install-pkg: default
$(LTINSTALL) -m 755 xfs_mkfile.sh $(PKG_SBIN_DIR)/xfs_mkfile
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/libfrog/Makefile b/libfrog/Makefile
index c4be4a7f2a73..8b6562b194e1 100644
--- a/libfrog/Makefile
+++ b/libfrog/Makefile
@@ -72,4 +72,6 @@ include $(BUILDRULES)
install install-pkg install-dev: default
+install-selfheal:
+
-include .ltdep
diff --git a/libhandle/Makefile b/libhandle/Makefile
index 7cfd0fa4f27e..28c104a77f95 100644
--- a/libhandle/Makefile
+++ b/libhandle/Makefile
@@ -27,4 +27,6 @@ install-pkg: default
install-dev: default
$(INSTALL_LTLIB_DEV)
+install-selfheal:
+
-include .ltdep
diff --git a/libxcmd/Makefile b/libxcmd/Makefile
index afd5349c8af3..118ecd3cfc88 100644
--- a/libxcmd/Makefile
+++ b/libxcmd/Makefile
@@ -25,4 +25,6 @@ include $(BUILDRULES)
install install-pkg install-dev: default
+install-selfheal:
+
-include .ltdep
diff --git a/libxfs/Makefile b/libxfs/Makefile
index 63657fb21cab..b386eaaa2cd2 100644
--- a/libxfs/Makefile
+++ b/libxfs/Makefile
@@ -158,3 +158,6 @@ install-dev: install
ifndef NODEP
-include .ltdep
endif
+
+install-selfheal:
+
diff --git a/libxlog/Makefile b/libxlog/Makefile
index 3710729fe703..37281eb058f2 100644
--- a/libxlog/Makefile
+++ b/libxlog/Makefile
@@ -23,4 +23,6 @@ include $(BUILDRULES)
install install-pkg install-dev: default
+install-selfheal:
+
-include .ltdep
diff --git a/logprint/Makefile b/logprint/Makefile
index 5ec02539a7bb..f1fccbdc8ca7 100644
--- a/logprint/Makefile
+++ b/logprint/Makefile
@@ -28,4 +28,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/m4/Makefile b/m4/Makefile
index eda4c06f6864..b894dd3b0222 100644
--- a/m4/Makefile
+++ b/m4/Makefile
@@ -35,5 +35,7 @@ include $(BUILDRULES)
install install-pkg install-dev install-lib: default
+install-selfheal:
+
realclean: distclean
rm -f $(CONFIGURE)
diff --git a/man/Makefile b/man/Makefile
index f62286e8339d..258e8732a923 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -21,4 +21,6 @@ install-dev : $(addsuffix -install-dev,$(SUBDIRS))
%-install-dev:
$(Q)$(MAKE) $(MAKEOPTS) -C $* install-dev
+install-selfheal:
+
include $(BUILDRULES)
diff --git a/mdrestore/Makefile b/mdrestore/Makefile
index 0d02fb383404..c75d5875929b 100644
--- a/mdrestore/Makefile
+++ b/mdrestore/Makefile
@@ -23,4 +23,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/mkfs/Makefile b/mkfs/Makefile
index cf945aa10c25..515c2db0639d 100644
--- a/mkfs/Makefile
+++ b/mkfs/Makefile
@@ -37,4 +37,6 @@ install-pkg: default
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/po/Makefile b/po/Makefile
index 3cc0b4177c64..cb6ef954b695 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -25,3 +25,6 @@ install-pkg: default
$(INSTALL_LINGUAS)
install-dev install-lib:
+
+install-selfheal:
+
diff --git a/quota/Makefile b/quota/Makefile
index 01584635b3dd..e1193bd203ad 100644
--- a/quota/Makefile
+++ b/quota/Makefile
@@ -30,4 +30,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/repair/Makefile b/repair/Makefile
index ed5a6b1ff4db..a82368e9b6a5 100644
--- a/repair/Makefile
+++ b/repair/Makefile
@@ -109,4 +109,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/rtcp/Makefile b/rtcp/Makefile
index 4adb58c4b783..ac638bcd1029 100644
--- a/rtcp/Makefile
+++ b/rtcp/Makefile
@@ -23,4 +23,6 @@ install-pkg: default
$(LTINSTALL) -m 755 $(LTCOMMAND) $(PKG_SBIN_DIR)
install-dev:
+install-selfheal:
+
-include .dep
diff --git a/scrub/Makefile b/scrub/Makefile
index 653aafd171b5..8a556a736d90 100644
--- a/scrub/Makefile
+++ b/scrub/Makefile
@@ -20,6 +20,7 @@ XFS_SCRUB_ARGS = -p
XFS_SCRUB_SERVICE_ARGS = -b
ifeq ($(HAVE_SYSTEMD),yes)
INSTALL_SCRUB += install-systemd
+INSTALL_SELFHEAL += install-systemd-selfheal
SYSTEMD_SERVICES=\
$(scrub_svcname) \
xfs_scrub_fail@.service \
@@ -27,9 +28,10 @@ SYSTEMD_SERVICES=\
xfs_scrub_media_fail@.service \
xfs_scrub_all.service \
xfs_scrub_all_fail.service \
- xfs_scrub_all.timer \
system-xfs_scrub.slice
-OPTIONAL_TARGETS += $(SYSTEMD_SERVICES)
+SYSTEMD_SERVICES_SELFHEAL=\
+ xfs_scrub_all.timer
+OPTIONAL_TARGETS += $(SYSTEMD_SERVICES) $(SYSTEMD_SERVICES_SELFHEAL)
endif
ifeq ($(HAVE_CROND),yes)
INSTALL_SCRUB += install-crond
@@ -164,6 +166,10 @@ install-systemd: default $(SYSTEMD_SERVICES)
$(INSTALL) -m 755 -d $(PKG_LIBEXEC_DIR)
$(INSTALL) -m 755 $(XFS_SCRUB_FAIL_PROG) $(PKG_LIBEXEC_DIR)
+install-systemd-selfheal: default $(SYSTEMD_SERVICES_SELFHEAL)
+ $(INSTALL) -m 755 -d $(SYSTEMD_SYSTEM_UNIT_DIR)
+ $(INSTALL) -m 644 $(SYSTEMD_SERVICES_SELFHEAL) $(SYSTEMD_SYSTEM_UNIT_DIR)
+
install-crond: default $(CRONTABS)
$(INSTALL) -m 755 -d $(CROND_DIR)
$(INSTALL) -m 644 $(CRONTABS) $(CROND_DIR)
@@ -182,4 +188,6 @@ install-udev: $(UDEV_RULES)
install-dev:
+install-selfheal: $(INSTALL_SELFHEAL)
+
-include .dep
diff --git a/spaceman/Makefile b/spaceman/Makefile
index d0495ebb057e..e50595ab33c1 100644
--- a/spaceman/Makefile
+++ b/spaceman/Makefile
@@ -34,4 +34,6 @@ install-pkg: default
$(INSTALL) -m 755 xfs_info.sh $(PKG_SBIN_DIR)/xfs_info
install-dev:
+install-selfheal:
+
-include .dep
next prev parent reply other threads:[~2024-07-16 16:50 UTC|newest]
Thread overview: 295+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-02 0:43 [PATCHBOMB] xfsprogs: program changes (mostly xfs_scrub) for 6.10 Darrick J. Wong
2024-07-02 0:49 ` [PATCHSET v30.7 01/16] xfsprogs: atomic file updates Darrick J. Wong
2024-07-02 0:53 ` [PATCH 01/12] man: document the exchange-range ioctl Darrick J. Wong
2024-07-02 5:08 ` Christoph Hellwig
2024-07-02 0:54 ` [PATCH 02/12] man: document XFS_FSOP_GEOM_FLAGS_EXCHRANGE Darrick J. Wong
2024-07-02 5:08 ` Christoph Hellwig
2024-07-02 0:54 ` [PATCH 03/12] libhandle: add support for bulkstat v5 Darrick J. Wong
2024-07-02 5:09 ` Christoph Hellwig
2024-07-02 19:48 ` Darrick J. Wong
2024-07-02 0:54 ` [PATCH 04/12] libfrog: add support for exchange range ioctl family Darrick J. Wong
2024-07-02 5:09 ` Christoph Hellwig
2024-07-02 0:54 ` [PATCH 05/12] xfs_db: advertise exchange-range in the version command Darrick J. Wong
2024-07-02 5:10 ` Christoph Hellwig
2024-07-02 0:55 ` [PATCH 06/12] xfs_logprint: support dumping exchmaps log items Darrick J. Wong
2024-07-02 5:11 ` Christoph Hellwig
2024-07-02 19:49 ` Darrick J. Wong
2024-07-02 0:55 ` [PATCH 07/12] xfs_fsr: convert to bulkstat v5 ioctls Darrick J. Wong
2024-07-02 5:13 ` Christoph Hellwig
2024-07-02 19:51 ` Darrick J. Wong
2024-07-02 0:55 ` [PATCH 08/12] xfs_fsr: skip the xattr/forkoff levering with the newer swapext implementations Darrick J. Wong
2024-07-02 5:14 ` Christoph Hellwig
2024-07-02 0:55 ` [PATCH 09/12] xfs_io: create exchangerange command to test file range exchange ioctl Darrick J. Wong
2024-07-02 5:15 ` Christoph Hellwig
2024-07-02 19:53 ` Darrick J. Wong
2024-07-02 0:56 ` [PATCH 10/12] libfrog: advertise exchange-range support Darrick J. Wong
2024-07-02 5:15 ` Christoph Hellwig
2024-07-02 0:56 ` [PATCH 11/12] xfs_repair: add exchange-range to file systems Darrick J. Wong
2024-07-02 5:15 ` Christoph Hellwig
2024-07-02 0:56 ` [PATCH 12/12] mkfs: add a formatting option for exchange-range Darrick J. Wong
2024-07-02 5:16 ` Christoph Hellwig
2024-07-02 0:49 ` [PATCHSET v30.7 02/16] xfsprogs: inode-related repair fixes Darrick J. Wong
2024-07-02 0:56 ` [PATCH 1/3] xfs_{db,repair}: add an explicit owner field to xfs_da_args Darrick J. Wong
2024-07-02 5:16 ` Christoph Hellwig
2024-07-02 0:57 ` [PATCH 2/3] libxfs: port the bumplink function from the kernel Darrick J. Wong
2024-07-02 5:16 ` Christoph Hellwig
2024-07-02 0:57 ` [PATCH 3/3] mkfs/repair: pin inodes that would otherwise overflow link count Darrick J. Wong
2024-07-02 5:17 ` Christoph Hellwig
2024-07-02 0:50 ` [PATCHSET v30.7 03/16] xfs_scrub: detect deceptive filename extensions Darrick J. Wong
2024-07-02 0:57 ` [PATCH 01/13] xfs_scrub: use proper UChar string iterators Darrick J. Wong
2024-07-02 5:18 ` Christoph Hellwig
2024-07-02 0:57 ` [PATCH 02/13] xfs_scrub: hoist code that removes ignorable characters Darrick J. Wong
2024-07-02 5:21 ` Christoph Hellwig
2024-07-02 0:58 ` [PATCH 03/13] xfs_scrub: add a couple of omitted invisible code points Darrick J. Wong
2024-07-02 5:22 ` Christoph Hellwig
2024-07-03 1:59 ` Darrick J. Wong
2024-07-03 4:27 ` Christoph Hellwig
2024-07-03 5:02 ` Darrick J. Wong
2024-07-03 18:35 ` Darrick J. Wong
2024-07-04 7:22 ` Christoph Hellwig
2024-07-02 0:58 ` [PATCH 04/13] xfs_scrub: avoid potential UAF after freeing a duplicate name entry Darrick J. Wong
2024-07-02 5:22 ` Christoph Hellwig
2024-07-02 0:58 ` [PATCH 05/13] xfs_scrub: guard against libicu returning negative buffer lengths Darrick J. Wong
2024-07-02 5:22 ` Christoph Hellwig
2024-07-02 0:58 ` [PATCH 06/13] xfs_scrub: hoist non-rendering character predicate Darrick J. Wong
2024-07-02 5:23 ` Christoph Hellwig
2024-07-02 0:59 ` [PATCH 07/13] xfs_scrub: store bad flags with the name entry Darrick J. Wong
2024-07-02 5:23 ` Christoph Hellwig
2024-07-02 0:59 ` [PATCH 08/13] xfs_scrub: rename UNICRASH_ZERO_WIDTH to UNICRASH_INVISIBLE Darrick J. Wong
2024-07-02 5:23 ` Christoph Hellwig
2024-07-02 0:59 ` [PATCH 09/13] xfs_scrub: type-coerce the UNICRASH_* flags Darrick J. Wong
2024-07-02 5:24 ` Christoph Hellwig
2024-07-02 0:59 ` [PATCH 10/13] xfs_scrub: reduce size of struct name_entry Darrick J. Wong
2024-07-02 5:24 ` Christoph Hellwig
2024-07-02 1:00 ` [PATCH 11/13] xfs_scrub: rename struct unicrash.normalizer Darrick J. Wong
2024-07-02 5:24 ` Christoph Hellwig
2024-07-02 1:00 ` [PATCH 12/13] xfs_scrub: report deceptive file extensions Darrick J. Wong
2024-07-02 5:25 ` Christoph Hellwig
2024-07-02 1:00 ` [PATCH 13/13] xfs_scrub: dump unicode points Darrick J. Wong
2024-07-02 5:25 ` Christoph Hellwig
2024-07-02 0:50 ` [PATCHSET v30.7 04/16] xfs_scrub: move fstrim to a separate phase Darrick J. Wong
2024-07-02 1:01 ` [PATCH 1/8] xfs_scrub: move FITRIM to phase 8 Darrick J. Wong
2024-07-02 5:27 ` Christoph Hellwig
2024-07-02 1:01 ` [PATCH 2/8] xfs_scrub: ignore phase 8 if the user disabled fstrim Darrick J. Wong
2024-07-02 5:27 ` Christoph Hellwig
2024-07-02 1:01 ` [PATCH 3/8] xfs_scrub: collapse trim_filesystem Darrick J. Wong
2024-07-02 5:27 ` Christoph Hellwig
2024-07-02 1:01 ` [PATCH 4/8] xfs_scrub: fix the work estimation for phase 8 Darrick J. Wong
2024-07-02 5:27 ` Christoph Hellwig
2024-07-02 1:02 ` [PATCH 5/8] xfs_scrub: report FITRIM errors properly Darrick J. Wong
2024-07-02 5:28 ` Christoph Hellwig
2024-07-02 1:02 ` [PATCH 6/8] xfs_scrub: don't call FITRIM after runtime errors Darrick J. Wong
2024-07-02 5:28 ` Christoph Hellwig
2024-07-02 1:02 ` [PATCH 7/8] xfs_scrub: don't trim the first agbno of each AG for better performance Darrick J. Wong
2024-07-02 5:30 ` Christoph Hellwig
2024-07-03 3:45 ` Darrick J. Wong
2024-07-03 3:52 ` [PATCH v30.7.1 7/8] xfs_scrub: improve responsiveness while trimming the filesystem Darrick J. Wong
2024-07-03 4:33 ` Christoph Hellwig
2024-07-03 4:50 ` Darrick J. Wong
2024-07-02 1:02 ` [PATCH 8/8] xfs_scrub: improve progress meter for phase 8 fstrimming Darrick J. Wong
2024-07-02 0:50 ` [PATCHSET v30.7 05/16] xfs_scrub: use free space histograms to reduce fstrim runtime Darrick J. Wong
2024-07-02 1:03 ` [PATCH 1/7] libfrog: hoist free space histogram code Darrick J. Wong
2024-07-02 5:32 ` Christoph Hellwig
2024-07-03 2:47 ` Darrick J. Wong
2024-07-03 4:30 ` Christoph Hellwig
2024-07-03 4:55 ` Darrick J. Wong
2024-07-02 1:03 ` [PATCH 2/7] libfrog: print wider columns for free space histogram Darrick J. Wong
2024-07-02 5:33 ` Christoph Hellwig
2024-07-02 1:03 ` [PATCH 3/7] libfrog: print cdf of free space buckets Darrick J. Wong
2024-07-02 5:33 ` Christoph Hellwig
2024-07-02 1:03 ` [PATCH 4/7] xfs_scrub: don't close stdout when closing the progress bar Darrick J. Wong
2024-07-02 5:33 ` Christoph Hellwig
2024-07-02 1:04 ` [PATCH 5/7] xfs_scrub: remove pointless spacemap.c arguments Darrick J. Wong
2024-07-02 5:33 ` Christoph Hellwig
2024-07-02 1:04 ` [PATCH 6/7] xfs_scrub: collect free space histograms during phase 7 Darrick J. Wong
2024-07-02 5:34 ` Christoph Hellwig
2024-07-02 1:04 ` [PATCH 7/7] xfs_scrub: tune fstrim minlen parameter based on free space histograms Darrick J. Wong
2024-07-02 5:36 ` Christoph Hellwig
2024-07-03 2:29 ` Darrick J. Wong
2024-07-03 4:29 ` Christoph Hellwig
2024-07-03 4:55 ` Darrick J. Wong
2024-07-03 4:58 ` Christoph Hellwig
2024-07-03 5:04 ` Darrick J. Wong
2024-07-03 5:11 ` Christoph Hellwig
2024-07-03 5:17 ` Darrick J. Wong
2024-07-02 0:50 ` [PATCHSET v30.7 06/16] xfs_scrub: tighten security of systemd services Darrick J. Wong
2024-07-02 1:04 ` [PATCH 1/6] xfs_scrub: allow auxiliary pathnames for sandboxing Darrick J. Wong
2024-07-02 5:37 ` Christoph Hellwig
2024-07-02 1:05 ` [PATCH 2/6] xfs_scrub.service: reduce background CPU usage to less than one core if possible Darrick J. Wong
2024-07-02 1:05 ` [PATCH 3/6] xfs_scrub: use dynamic users when running as a systemd service Darrick J. Wong
2024-07-02 1:05 ` [PATCH 4/6] xfs_scrub: tighten up the security on the background " Darrick J. Wong
2024-07-02 1:06 ` [PATCH 5/6] xfs_scrub_fail: " Darrick J. Wong
2024-07-02 5:37 ` Christoph Hellwig
2024-07-02 1:06 ` [PATCH 6/6] xfs_scrub_all: " Darrick J. Wong
2024-07-02 5:37 ` Christoph Hellwig
2024-07-02 0:51 ` [PATCHSET v30.7 07/16] xfs_scrub_all: automatic media scan service Darrick J. Wong
2024-07-02 1:06 ` [PATCH 1/6] xfs_scrub_all: only use the xfs_scrub@ systemd services in service mode Darrick J. Wong
2024-07-02 5:38 ` Christoph Hellwig
2024-07-02 1:06 ` [PATCH 2/6] xfs_scrub_all: remove journalctl background process Darrick J. Wong
2024-07-02 5:38 ` Christoph Hellwig
2024-07-02 1:07 ` [PATCH 3/6] xfs_scrub_all: support metadata+media scans of all filesystems Darrick J. Wong
2024-07-02 5:39 ` Christoph Hellwig
2024-07-02 1:07 ` [PATCH 4/6] xfs_scrub_all: enable periodic file data scrubs automatically Darrick J. Wong
2024-07-02 5:39 ` Christoph Hellwig
2024-07-02 1:07 ` [PATCH 5/6] xfs_scrub_all: trigger automatic media scans once per month Darrick J. Wong
2024-07-02 5:39 ` Christoph Hellwig
2024-07-02 1:07 ` [PATCH 6/6] xfs_scrub_all: failure reporting for the xfs_scrub_all job Darrick J. Wong
2024-07-02 5:39 ` Christoph Hellwig
2024-07-02 0:51 ` [PATCHSET v30.7 08/16] xfs_scrub_all: improve systemd handling Darrick J. Wong
2024-07-02 1:08 ` [PATCH 1/5] xfs_scrub_all: encapsulate all the subprocess code in an object Darrick J. Wong
2024-07-02 5:40 ` Christoph Hellwig
2024-07-02 1:08 ` [PATCH 2/5] xfs_scrub_all: encapsulate all the systemctl " Darrick J. Wong
2024-07-02 5:41 ` Christoph Hellwig
2024-07-02 1:08 ` [PATCH 3/5] xfs_scrub_all: add CLI option for easier debugging Darrick J. Wong
2024-07-02 5:42 ` Christoph Hellwig
2024-07-02 1:08 ` [PATCH 4/5] xfs_scrub_all: convert systemctl calls to dbus Darrick J. Wong
2024-07-02 5:42 ` Christoph Hellwig
2024-07-02 1:09 ` [PATCH 5/5] xfs_scrub_all: implement retry and backoff for dbus calls Darrick J. Wong
2024-07-02 5:42 ` Christoph Hellwig
2024-07-02 0:51 ` [PATCHSET v30.7 09/16] xfs_scrub: automatic optimization by default Darrick J. Wong
2024-07-02 1:09 ` [PATCH 1/3] xfs_scrub: automatic downgrades to dry-run mode in service mode Darrick J. Wong
2024-07-02 5:43 ` Christoph Hellwig
2024-07-02 1:09 ` [PATCH 2/3] xfs_scrub: add an optimization-only mode Darrick J. Wong
2024-07-02 5:43 ` Christoph Hellwig
2024-07-02 1:09 ` [PATCH 3/3] debian: enable xfs_scrub_all systemd timer services by default Darrick J. Wong
2024-07-02 5:44 ` Christoph Hellwig
2024-07-03 2:59 ` Darrick J. Wong
2024-07-03 4:31 ` Christoph Hellwig
2024-07-03 5:01 ` Darrick J. Wong
2024-07-09 22:53 ` Darrick J. Wong
2024-07-10 6:18 ` Christoph Hellwig
2024-07-16 16:46 ` Darrick J. Wong
2024-07-17 4:59 ` Christoph Hellwig
2024-07-17 16:15 ` Darrick J. Wong
2024-07-17 16:45 ` Christoph Hellwig
2024-07-22 4:12 ` Darrick J. Wong
2024-07-22 12:34 ` Christoph Hellwig
2024-07-23 23:29 ` Darrick J. Wong
2024-07-24 13:18 ` Christoph Hellwig
2024-07-16 16:47 ` [RFC PATCH 1/2] misc: shift install targets Darrick J. Wong
2024-07-16 16:49 ` Darrick J. Wong [this message]
2024-07-17 5:00 ` Christoph Hellwig
2024-07-17 16:19 ` Darrick J. Wong
2024-07-17 16:43 ` Christoph Hellwig
2024-07-02 0:51 ` [PATCHSET v13.7 10/16] xfsprogs: improve extended attribute validation Darrick J. Wong
2024-07-02 1:10 ` [PATCH 1/3] xfs_repair: check free space requirements before allowing upgrades Darrick J. Wong
2024-07-02 5:44 ` Christoph Hellwig
2024-07-02 1:10 ` [PATCH 2/3] xfs_repair: enforce one namespace bit per extended attribute Darrick J. Wong
2024-07-02 5:44 ` Christoph Hellwig
2024-07-02 1:10 ` [PATCH 3/3] xfs_repair: check for unknown flags in attr entries Darrick J. Wong
2024-07-02 5:45 ` Christoph Hellwig
2024-07-02 0:52 ` [PATCHSET v13.7 11/16] xfsprogs: Parent Pointers Darrick J. Wong
2024-07-02 1:10 ` [PATCH 01/24] libxfs: create attr log item opcodes and formats for parent pointers Darrick J. Wong
2024-07-02 6:24 ` Christoph Hellwig
2024-07-02 1:11 ` [PATCH 02/24] xfs_{db,repair}: implement new attr hash value function Darrick J. Wong
2024-07-02 6:24 ` Christoph Hellwig
2024-07-02 1:11 ` [PATCH 03/24] xfs_logprint: dump new attr log item fields Darrick J. Wong
2024-07-02 6:25 ` Christoph Hellwig
2024-07-02 20:02 ` Darrick J. Wong
2024-07-02 1:11 ` [PATCH 04/24] man: document the XFS_IOC_GETPARENTS ioctl Darrick J. Wong
2024-07-02 6:25 ` Christoph Hellwig
2024-07-02 1:11 ` [PATCH 05/24] libfrog: report parent pointers to userspace Darrick J. Wong
2024-07-02 6:25 ` Christoph Hellwig
2024-07-02 1:12 ` [PATCH 06/24] libfrog: add parent pointer support code Darrick J. Wong
2024-07-02 6:26 ` Christoph Hellwig
2024-07-02 1:12 ` [PATCH 07/24] xfs_io: adapt parent command to new parent pointer ioctls Darrick J. Wong
2024-07-02 6:26 ` Christoph Hellwig
2024-07-02 1:12 ` [PATCH 08/24] xfs_io: Add i, n and f flags to parent command Darrick J. Wong
2024-07-02 6:26 ` Christoph Hellwig
2024-07-02 1:13 ` [PATCH 09/24] xfs_logprint: decode parent pointers in ATTRI items fully Darrick J. Wong
2024-07-02 6:27 ` Christoph Hellwig
2024-07-02 1:13 ` [PATCH 10/24] xfs_spaceman: report file paths Darrick J. Wong
2024-07-02 6:27 ` Christoph Hellwig
2024-07-02 1:13 ` [PATCH 11/24] xfs_scrub: use parent pointers when possible to report file operations Darrick J. Wong
2024-07-02 6:27 ` Christoph Hellwig
2024-07-02 1:13 ` [PATCH 12/24] xfs_scrub: use parent pointers to report lost file data Darrick J. Wong
2024-07-02 6:28 ` Christoph Hellwig
2024-07-02 1:14 ` [PATCH 13/24] xfs_db: report parent pointers in version command Darrick J. Wong
2024-07-02 6:28 ` Christoph Hellwig
2024-07-02 1:14 ` [PATCH 14/24] xfs_db: report parent bit on xattrs Darrick J. Wong
2024-07-02 6:28 ` Christoph Hellwig
2024-07-02 1:14 ` [PATCH 15/24] xfs_db: report parent pointers embedded in xattrs Darrick J. Wong
2024-07-02 6:28 ` Christoph Hellwig
2024-07-02 1:14 ` [PATCH 16/24] xfs_db: obfuscate dirent and parent pointer names consistently Darrick J. Wong
2024-07-02 6:33 ` Christoph Hellwig
2024-07-02 1:15 ` [PATCH 17/24] libxfs: export attr3_leaf_hdr_from_disk via libxfs_api_defs.h Darrick J. Wong
2024-07-02 6:35 ` Christoph Hellwig
2024-07-02 1:15 ` [PATCH 18/24] xfs_db: add a parents command to list the parents of a file Darrick J. Wong
2024-07-02 6:35 ` Christoph Hellwig
2024-07-02 1:15 ` [PATCH 19/24] xfs_db: make attr_set and attr_remove handle parent pointers Darrick J. Wong
2024-07-02 6:36 ` Christoph Hellwig
2024-07-02 1:15 ` [PATCH 20/24] xfs_db: add link and unlink expert commands Darrick J. Wong
2024-07-02 6:36 ` Christoph Hellwig
2024-07-02 1:16 ` [PATCH 21/24] xfs_db: compute hashes of parent pointers Darrick J. Wong
2024-07-02 6:37 ` Christoph Hellwig
2024-07-02 1:16 ` [PATCH 22/24] libxfs: create new files with attr forks if necessary Darrick J. Wong
2024-07-02 6:37 ` Christoph Hellwig
2024-07-02 1:16 ` [PATCH 23/24] mkfs: Add parent pointers during protofile creation Darrick J. Wong
2024-07-02 6:37 ` Christoph Hellwig
2024-07-02 1:16 ` [PATCH 24/24] mkfs: enable formatting with parent pointers Darrick J. Wong
2024-07-02 6:38 ` Christoph Hellwig
2024-07-02 0:52 ` [PATCHSET v13.7 12/16] xfsprogs: scrubbing for " Darrick J. Wong
2024-07-02 1:17 ` [PATCH 1/2] xfs: create a blob array data structure Darrick J. Wong
2024-07-02 6:41 ` Christoph Hellwig
2024-07-02 1:17 ` [PATCH 2/2] man2: update ioctl_xfs_scrub_metadata.2 for parent pointers Darrick J. Wong
2024-07-02 6:41 ` Christoph Hellwig
2024-07-02 0:52 ` [PATCHSET v13.7 13/16] xfsprogs: offline repair " Darrick J. Wong
2024-07-02 1:17 ` [PATCH 01/12] xfs_db: remove some boilerplate from xfs_attr_set Darrick J. Wong
2024-07-02 6:41 ` Christoph Hellwig
2024-07-02 1:17 ` [PATCH 02/12] xfs_db: actually report errors from libxfs_attr_set Darrick J. Wong
2024-07-02 6:41 ` Christoph Hellwig
2024-07-02 1:18 ` [PATCH 03/12] xfs_repair: junk parent pointer attributes when filesystem doesn't support them Darrick J. Wong
2024-07-02 6:42 ` Christoph Hellwig
2024-07-02 1:18 ` [PATCH 04/12] xfs_repair: add parent pointers when messing with /lost+found Darrick J. Wong
2024-07-02 6:42 ` Christoph Hellwig
2024-07-02 1:18 ` [PATCH 05/12] xfs_repair: junk duplicate hashtab entries when processing sf dirents Darrick J. Wong
2024-07-02 6:43 ` Christoph Hellwig
2024-07-02 1:19 ` [PATCH 06/12] xfs_repair: build a parent pointer index Darrick J. Wong
2024-07-02 6:45 ` Christoph Hellwig
2024-07-02 1:19 ` [PATCH 07/12] xfs_repair: move the global dirent name store to a separate object Darrick J. Wong
2024-07-02 6:45 ` Christoph Hellwig
2024-07-02 1:19 ` [PATCH 08/12] xfs_repair: deduplicate strings stored in string blob Darrick J. Wong
2024-07-02 6:46 ` Christoph Hellwig
2024-07-02 1:19 ` [PATCH 09/12] xfs_repair: check parent pointers Darrick J. Wong
2024-07-02 6:47 ` Christoph Hellwig
2024-07-02 1:20 ` [PATCH 10/12] xfs_repair: dump garbage parent pointer attributes Darrick J. Wong
2024-07-02 6:47 ` Christoph Hellwig
2024-07-02 1:20 ` [PATCH 11/12] xfs_repair: update ondisk parent pointer records Darrick J. Wong
2024-07-02 6:47 ` Christoph Hellwig
2024-07-02 1:20 ` [PATCH 12/12] xfs_repair: wipe ondisk parent pointers when there are none Darrick J. Wong
2024-07-02 6:47 ` Christoph Hellwig
2024-07-02 0:52 ` [PATCHSET v13.7 14/16] xfsprogs: detect and correct directory tree problems Darrick J. Wong
2024-07-02 1:20 ` [PATCH 1/5] libfrog: add directory tree structure scrubber to scrub library Darrick J. Wong
2024-07-02 6:48 ` Christoph Hellwig
2024-07-02 1:21 ` [PATCH 2/5] xfs_spaceman: report directory tree corruption in the health information Darrick J. Wong
2024-07-02 6:48 ` Christoph Hellwig
2024-07-02 1:21 ` [PATCH 3/5] xfs_scrub: fix erroring out of check_inode_names Darrick J. Wong
2024-07-02 6:48 ` Christoph Hellwig
2024-07-02 1:21 ` [PATCH 4/5] xfs_scrub: detect and repair directory tree corruptions Darrick J. Wong
2024-07-02 6:49 ` Christoph Hellwig
2024-07-02 1:21 ` [PATCH 5/5] xfs_scrub: defer phase5 file scans if dirloop fails Darrick J. Wong
2024-07-02 6:49 ` Christoph Hellwig
2024-07-02 0:53 ` [PATCHSET v30.7 15/16] xfs_scrub: vectorize kernel calls Darrick J. Wong
2024-07-02 1:22 ` [PATCH 01/10] man: document vectored scrub mode Darrick J. Wong
2024-07-02 6:56 ` Christoph Hellwig
2024-07-02 1:22 ` [PATCH 02/10] libfrog: support vectored scrub Darrick J. Wong
2024-07-02 6:56 ` Christoph Hellwig
2024-07-02 1:22 ` [PATCH 03/10] xfs_io: " Darrick J. Wong
2024-07-02 6:57 ` Christoph Hellwig
2024-07-02 1:22 ` [PATCH 04/10] xfs_scrub: split the scrub epilogue code into a separate function Darrick J. Wong
2024-07-02 6:57 ` Christoph Hellwig
2024-07-02 1:23 ` [PATCH 05/10] xfs_scrub: split the repair " Darrick J. Wong
2024-07-02 6:57 ` Christoph Hellwig
2024-07-02 1:23 ` [PATCH 06/10] xfs_scrub: convert scrub and repair epilogues to use xfs_scrub_vec Darrick J. Wong
2024-07-02 6:57 ` Christoph Hellwig
2024-07-02 1:23 ` [PATCH 07/10] xfs_scrub: vectorize scrub calls Darrick J. Wong
2024-07-02 6:58 ` Christoph Hellwig
2024-07-02 1:23 ` [PATCH 08/10] xfs_scrub: vectorize repair calls Darrick J. Wong
2024-07-02 6:58 ` Christoph Hellwig
2024-07-02 1:24 ` [PATCH 09/10] xfs_scrub: use scrub barriers to reduce kernel calls Darrick J. Wong
2024-07-02 6:58 ` Christoph Hellwig
2024-07-02 1:24 ` [PATCH 10/10] xfs_scrub: try spot repairs of metadata items to make scrub progress Darrick J. Wong
2024-07-02 6:59 ` Christoph Hellwig
2024-07-02 0:53 ` [PATCHSET v30.7 16/16] xfs_repair: small remote symlinks are ok Darrick J. Wong
2024-07-02 1:24 ` [PATCH 1/1] xfs_repair: allow symlinks with short remote targets Darrick J. Wong
2024-07-02 6:59 ` Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240716164959.GD612460@frogsfrogsfrogs \
--to=djwong@kernel.org \
--cc=cem@kernel.org \
--cc=hch@lst.de \
--cc=linux-xfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).