]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
Merge tag 'scruball-service-fixes-6.6_2024-01-11' of https://git.kernel.org/pub/scm...
authorCarlos Maiolino <cem@kernel.org>
Tue, 23 Jan 2024 10:31:17 +0000 (11:31 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 23 Jan 2024 10:31:17 +0000 (11:31 +0100)
commit3ec53d43866f7cd35c8453206e5d855b1088a4a3
tree093d875659829af9e5eb80629941d2d20bc5756b
parent9b641bcd17122dba0a6e919531b2a7531d94e420
parent1c95c17c8857223d05e8c4516af42c6d41ae579a
Merge tag 'scruball-service-fixes-6.6_2024-01-11' of https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev into for-next

xfs_scrub_all: fixes for systemd services [v28.3 5/6]

This patchset ties up some problems in the xfs_scrub_all program and
service, which are essential for finding mounted filesystems to scrub
and creating the background service instances that do the scrub.

First, we need to fix various errors in pathname escaping, because
systemd does /not/ like slashes in service names.  Then, teach
xfs_scrub_all to deal with systemd restarts causing it to think that a
scrub has finished before the service actually finishes.  Finally,
implement a signal handler so that SIGINT (console ^C) and SIGTERM
(systemd stopping the service) shut down the xfs_scrub@ services
correctly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>