Do not call sati_check_data_io() for SATI_UNMAP sequences.
This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel MFC after: 3 days
This commit is contained in:
parent
5a7bc717f0
commit
a099c5cca0
@ -1095,10 +1095,6 @@ SATI_STATUS sati_translate_command_response(
|
||||
status = sati_unmap_translate_response(
|
||||
sequence, scsi_io, ata_io
|
||||
);
|
||||
if(status == SATI_COMPLETE)
|
||||
{
|
||||
status = sati_check_data_io(sequence);
|
||||
}
|
||||
break;
|
||||
#endif // !defined(DISABLE_SATI_UNMAP)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user