aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libsas/sas_discover.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2021-06-08 23:39:23 -0400
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-20 22:10:42 -0400
commitf7be677227a5375cefd084df2c88864fc673e24a (patch)
treed6ac271fc336cd37862077d1e45a09c6627e69ed /drivers/scsi/libsas/sas_discover.c
parentscsi: scsi_debug: Remove dump_sector() (diff)
downloadlinux-dev-f7be677227a5375cefd084df2c88864fc673e24a.tar.xz
linux-dev-f7be677227a5375cefd084df2c88864fc673e24a.zip
scsi: scsi_debug: Improve RDPROTECT/WRPROTECT handling
It is useful for testing purposes to be able to inject errors by writing bad protection information to media with checking disabled and then attempting to read it back. Extend scsi_debug's PI verification logic to give the driver feature parity with commercially available drives. Almost all devices with PI capability support RDPROTECT and WRPROTECT values of 0, 1, and 3. Link: https://lore.kernel.org/r/20210609033929.3815-10-martin.petersen@oracle.com Reviewed-by: Douglas Gilbert <dgilbert@interlog.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Message-Id: <20210609033929.3815-10-martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/libsas/sas_discover.c')
0 files changed, 0 insertions, 0 deletions