]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_repair: use thread pools to sort rmap data
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 25 Oct 2016 22:14:36 +0000 (15:14 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 26 Oct 2016 23:41:08 +0000 (16:41 -0700)
commit39bbc0a9e345b30ef6a8122220f85bd1d691ea82
tree8f522ad718adba89971c2189bb928e24805f9d2c
parent7f168643f47146150654aa0593c9b47b766ea26b
xfs_repair: use thread pools to sort rmap data

Since each slab is a collection of independent mini-slabs, we can
fire up a bunch of threads to sort the mini-slabs in parallel.
This speeds up the sorting phase of the rmapbt rebuilding if we
have a large number of mini slabs.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
repair/slab.c