mbox series

[0/3] xfs_scrub: deferred labelling to save time

Message ID 156944743778.300433.15946504547062490997.stgit@magnolia (mailing list archive)
Headers show
Series xfs_scrub: deferred labelling to save time | expand

Message

Darrick J. Wong Sept. 25, 2019, 9:37 p.m. UTC
Hi all,

I noticed from profiling xfs_scrub that the program spent a significant
amount of time in phase 3 rendering descriptive strings in case we found
an error and needed to report where we found them.  Most of the time
there aren't going to be errors, so we can reduce the runtime by 10% by
only rendering those strings when we need to report an error.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=scrub-deferred-descriptions