]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
xfs_scrub: drop SCSI_VERIFY code from disk.
authorDarrick J. Wong <djwong@kernel.org>
Tue, 17 Mar 2026 17:48:57 +0000 (10:48 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 9 Apr 2026 22:30:19 +0000 (15:30 -0700)
commit5eb6d67a831928b4e3e4188857e27d0567ad9fad
treee761d8c6948a2fecee46247f73be6cc0274ce3c7
parentc2e07d407aeeafdd438b85f6b1dce29df075d5e8
xfs_scrub: drop SCSI_VERIFY code from disk.

Now that we have a media verification ioctl in the kernel, drop the
SCSI_VERIFY code, which enables us to drop the dependency on sg and
obviates the need to fix some unit-handling bugs in the HDIO_GETGEO
code.

A subsequent patch will enable larger verification IO sizes, which this
old code cannot handle.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
doc/README-env-vars.txt
scrub/disk.c
scrub/disk.h
scrub/read_verify.c
scrub/xfs_scrub.c