]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: split the scrub epilogue code into a separate function
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:29 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:13 +0000 (17:01 -0700)
commit627d5dbd498e4b3c0599af34f242750facd560c0
tree4fe5e0a3ee188a03e56549fdbef00830a809369e
parentcad03cc6d068f494e305ff0f0aa33513ce9f4954
xfs_scrub: split the scrub epilogue code into a separate function

Move all the code that updates the internal state in response to a scrub
ioctl() call completion into a separate function.  This will help with
vectorizing scrub calls later on.

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