Searched hist:"55 e51eda4820ec5a1c1fc8693a51029f74eac2b9" (Results 1 – 3 of 3) sorted by relevance
/linux/include/scsi/ |
H A D | scsi_transport_iscsi.h | diff 55e51eda4820ec5a1c1fc8693a51029f74eac2b9 Wed Mar 05 18:43:49 CET 2014 Sagi Grimberg <sagig@mellanox.com> SCSI/libiscsi: Add check_protection callback for transports
iSCSI needs to be at least aware that a task involves protection information. In case it does, after the transaction completed libiscsi will ask the transport to check the protection status of the transaction.
Unlike transport errors, DIF errors should not prevent successful completion of the transaction from the transport point of view, but should be escelated to scsi mid-layer when constructing the scsi result and sense data.
check_protection routine will return the ascq corresponding to the DIF error that occured (or 0 if no error happened).
return ascq: - 0x1: GUARD_CHECK_FAILED - 0x2: APPTAG_CHECK_FAILED - 0x3: REFTAG_CHECK_FAILED
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Alex Tabachnik <alext@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
|
H A D | libiscsi.h | diff 55e51eda4820ec5a1c1fc8693a51029f74eac2b9 Wed Mar 05 18:43:49 CET 2014 Sagi Grimberg <sagig@mellanox.com> SCSI/libiscsi: Add check_protection callback for transports
iSCSI needs to be at least aware that a task involves protection information. In case it does, after the transaction completed libiscsi will ask the transport to check the protection status of the transaction.
Unlike transport errors, DIF errors should not prevent successful completion of the transaction from the transport point of view, but should be escelated to scsi mid-layer when constructing the scsi result and sense data.
check_protection routine will return the ascq corresponding to the DIF error that occured (or 0 if no error happened).
return ascq: - 0x1: GUARD_CHECK_FAILED - 0x2: APPTAG_CHECK_FAILED - 0x3: REFTAG_CHECK_FAILED
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Alex Tabachnik <alext@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
|
/linux/drivers/scsi/ |
H A D | libiscsi.c | diff 55e51eda4820ec5a1c1fc8693a51029f74eac2b9 Wed Mar 05 18:43:49 CET 2014 Sagi Grimberg <sagig@mellanox.com> SCSI/libiscsi: Add check_protection callback for transports
iSCSI needs to be at least aware that a task involves protection information. In case it does, after the transaction completed libiscsi will ask the transport to check the protection status of the transaction.
Unlike transport errors, DIF errors should not prevent successful completion of the transaction from the transport point of view, but should be escelated to scsi mid-layer when constructing the scsi result and sense data.
check_protection routine will return the ascq corresponding to the DIF error that occured (or 0 if no error happened).
return ascq: - 0x1: GUARD_CHECK_FAILED - 0x2: APPTAG_CHECK_FAILED - 0x3: REFTAG_CHECK_FAILED
Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Alex Tabachnik <alext@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
|