]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs_scrub: use scrub barriers to reduce kernel calls
authorDarrick J. Wong <djwong@kernel.org>
Mon, 29 Jul 2024 23:23:31 +0000 (16:23 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 30 Jul 2024 00:01:13 +0000 (17:01 -0700)
commita5ea24f0a3128d8d7b41cde3bf77c1b906a21ed2
tree199a5adabfe91d94bfbf97f32c40dd200667a50c
parentd275548fd7d2fe68aef3fb14caad0f022f19953a
xfs_scrub: use scrub barriers to reduce kernel calls

Use scrub barriers so that we can submit a single scrub request for a
bunch of things, and have the kernel stop midway through if it finds
anything broken.

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