[SCSI] Deprecate SCSI_PROT_*_CONVERT operations
The checksum format is orthogonal to whether the protection information is being passed on beyond the HBA or not. It is perfectly valid to use a non-T10 CRC with WRITE_STRIP and READ_INSERT. Consequently it no longer makes sense to explicitly refer to the conversion in the protection operation. Update sd_dif and lpfc accordingly. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Acked-by: Ihab Hamadi <Ihab.Hamadi@Emulex.Com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
committed by
James Bottomley
parent
6e883b0e42
commit
c6af404215
@@ -229,10 +229,6 @@ enum scsi_prot_operations {
|
||||
/* OS-HBA: Protected, HBA-Target: Protected */
|
||||
SCSI_PROT_READ_PASS,
|
||||
SCSI_PROT_WRITE_PASS,
|
||||
|
||||
/* OS-HBA: Protected, HBA-Target: Protected, checksum conversion */
|
||||
SCSI_PROT_READ_CONVERT,
|
||||
SCSI_PROT_WRITE_CONVERT,
|
||||
};
|
||||
|
||||
static inline void scsi_set_prot_op(struct scsi_cmnd *scmd, unsigned char op)
|
||||
|
Reference in New Issue
Block a user