svn commit: r240091 - stable/8/sys/dev/isci/scil
Jim Harris
jimharris at FreeBSD.org
Tue Sep 4 17:13:52 UTC 2012
Author: jimharris
Date: Tue Sep 4 17:13:52 2012
New Revision: 240091
URL: http://svn.freebsd.org/changeset/base/240091
Log:
MFC r239889:
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
Modified:
stable/8/sys/dev/isci/scil/sati.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
Modified: stable/8/sys/dev/isci/scil/sati.c
==============================================================================
--- stable/8/sys/dev/isci/scil/sati.c Tue Sep 4 16:00:51 2012 (r240090)
+++ stable/8/sys/dev/isci/scil/sati.c Tue Sep 4 17:13:52 2012 (r240091)
@@ -1095,10 +1095,6 @@ SATI_STATUS sati_translate_command_respo
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)
More information about the svn-src-stable
mailing list