]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub_all: convert systemctl calls to dbus
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:17 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:10 +0000 (17:01 -0700)
commit6d831e770359fffdfa53d1049776da81a1417a4a
tree4f2a629c25a707efa053744eb84dfb007bf8c3f5
parent965df861f9bfe6f0866e99496c364621b1329514
xfs_scrub_all: convert systemctl calls to dbus

Convert the systemctl invocations to direct dbus calls, which decouples
us from the CLI in favor of direct API calls.  This spares us from some
of the insanity of divining service state from program outputs.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
debian/control
scrub/xfs_scrub_all.in