]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub_all: encapsulate all the subprocess code in an object
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)
commita290edcfa0a3916951336d39725664af71768d6b
treec34ceb4b67336022acd5d093cc67fef8d4d18911
parente040916f649f71fb6a695dfcc6f6c9f576c5c4db
xfs_scrub_all: encapsulate all the subprocess code in an object

Move all the xfs_scrub subprocess handling code to an object so that we
can contain all the details in a single place.  This also simplifies the
background state management.

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