]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - configure.ac
xfs_scrub: optionally use SCSI READ VERIFY commands to scrub data blocks on disk
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
committerEric Sandeen <sandeen@redhat.com>
Fri, 2 Feb 2018 15:32:46 +0000 (09:32 -0600)
commit03c0cd8ffaed63b31f50698c4d9d1cb75c14d47b
tree2013efa9dfc7504de9320c07b7473daf91a069e9
parentb364a9c008fc049089844ec137225e1025ad7955
xfs_scrub: optionally use SCSI READ VERIFY commands to scrub data blocks on disk

If we sense that we're talking to a raw SCSI disk, use the SCSI READ
VERIFY command to ask the disk to verify a disk internally.  This can
sharply reduce the runtime of the data block verification phase on
devices whose internal bandwidth exceeds their link bandwidth.

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>
configure.ac
include/builddefs.in
m4/package_libcdev.m4
scrub/Makefile
scrub/disk.c
scrub/disk.h