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:
Jim Harris 2012-08-30 00:43:14 +00:00
parent 5a7bc717f0
commit a099c5cca0

View File

@ -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)