summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_eh.h
diff options
context:
space:
mode:
authorMartin K. Petersen2008-07-17 10:28:35 +0200
committerJames Bottomley2008-07-26 21:14:56 +0200
commitaf55ff675a8461da6a632320710b050af4366e0c (patch)
tree2d85ec327340f11f79cedb7d962d232c31819a8c /include/scsi/scsi_eh.h
parent[SCSI] sd: Identify DIF protection type and application tag ownership (diff)
downloadkernel-qcow2-linux-af55ff675a8461da6a632320710b050af4366e0c.tar.gz
kernel-qcow2-linux-af55ff675a8461da6a632320710b050af4366e0c.tar.xz
kernel-qcow2-linux-af55ff675a8461da6a632320710b050af4366e0c.zip
[SCSI] sd: Support for SCSI disk (SBC) Data Integrity Field
Support for controllers and disks that implement DIF protection information: - During command preparation the RDPROTECT/WRPROTECT must be set correctly if the target has DIF enabled. - READ(6) and WRITE(6) are not supported when DIF is on. - The controller must be told how to handle the I/O via the protection operation field in scsi_cmnd. - Refactor the I/O completion code that extracts failed LBA from the returned sense data and handle DIF failures correctly. - sd_dif.c implements the functions required to prepare and complete requests with protection information attached. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/scsi_eh.h')
0 files changed, 0 insertions, 0 deletions