Re: [PATCH 09/11] xfs_scrub: return bytes verified from a SCSI VERIFY command

Eric Sandeen
2019-10-17T01:56:56Z

On 9/25/19 4:35 PM, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong@oracle.com>
>
> Since disk_scsi_verify and pread are interchangeably called from
> disk_read_verify(), we must return the number of bytes verified (or -1)
> just like what pread returns. This doesn't matter now due to bugs in
> scrub, but we're about to fix those bugs.
>
> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>

Reviewed-by: Eric Sandeen <sandeen@redhat.com>