Here are some fixes for xfsprogs 4.20: Patch 1 fixes xfs_scrub_all to discover the fs to physical device mappings correctly when nvme devices are present in the system. Patch 2 holds off automated xfs_scrub_all triggers until the system is fully booted so that we don't end up racing metadata scrubbing with system boot. Patches 3-5 fix thread count discovery in xfs_scrub so that we stop shadowing variables and estimate parallelism based at least somewhat on the storage hardware and not just the number of CPUs. In other words, we'll stop pounding a spinning disk with all the CPUs. Patches 6-7 fix some link count handling in xfs_repair when we're (re)initializing the root directory and lost+found directories. Patch 8 fixes some build warnings in xfs_repair. This series survived overnight testing against current xfsprogs for-next. It can be pulled as a git branch[1]. --D [1] https://git.kernel.org/pub/scm/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=djwong-devel