]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - scrub/xfs_scrub.c
xfs_scrub: bump work_threads to include the controller thread
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 6 Nov 2019 22:26:35 +0000 (17:26 -0500)
committerEric Sandeen <sandeen@sandeen.net>
Wed, 6 Nov 2019 22:26:35 +0000 (17:26 -0500)
commit51c940530e315a65a76ac6936893b4449cfbd5c8
treee172ebc9e06d824b249024c65fd2263d660f2647
parent89f0bc44fd697b511200ca27c08b1d2638a6ba50
xfs_scrub: bump work_threads to include the controller thread

Bump @work_threads in the scrub phase setup function because we will
soon want the main thread (i.e. the one that coordinates workers) to be
factored into per-thread data structures.  We'll need this in an
upcoming patch to render error string prefixes to preallocated
per-thread buffers.

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/xfs_scrub.c