]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_scrub: redistribute read verify pool flush and destroy responsibilities
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 15 Oct 2019 16:55:05 +0000 (12:55 -0400)
committerEric Sandeen <sandeen@sandeen.net>
Tue, 15 Oct 2019 16:55:05 +0000 (12:55 -0400)
commit7668d01d4b4ef72933cd686940e2b15615342df2
tree60c199994a97cf2f244526ad06992f13a6711e58
parent71296cf87ff5897c1e226fb44ecad735a74a6bd5
xfs_scrub: redistribute read verify pool flush and destroy responsibilities

Since workqueues now have separate primitives for "wait for all queued
work" and "destroy workqueue", it makes more sense for the read verify
pool code to call the workqueue destructor from its own destructor
function.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
scrub/phase6.c
scrub/read_verify.c