]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: raise media verification IO limits
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Mar 2026 16:58:55 +0000 (09:58 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:19 +0000 (15:30 -0700)
commit8ef7291a272e4e29e38dda90afec56a983776187
treee9f623c9afde5292b14343b2b524119c643b5e0e
parent5eb6d67a831928b4e3e4188857e27d0567ad9fad
xfs_scrub: raise media verification IO limits

To avoid starving other threads of disk IO resources, the read-verify
pool limits the size of verification IOs to limit bandwidth consumption,
and it is willing to over-verify some amount of unwritten media to
reduce the number of verification IO requests sent to the device.

However, these limits were set in 2018 when areal densities were lower
and disk bandwidth was more limited.  Increase them now to reduce scan
time on the author's system by 10% in foreground and 50% in background
mode.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
scrub/read_verify.c