Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Sep 2012 16:38:55 +0000 (UTC)
From:      Jim Harris <jimharris@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-releng@freebsd.org
Subject:   svn commit: r240168 - releng/9.1/sys/dev/isci/scil
Message-ID:  <201209061638.q86GctDj051661@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jimharris
Date: Thu Sep  6 16:38:55 2012
New Revision: 240168
URL: http://svn.freebsd.org/changeset/base/240168

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
  Approved by:	re (kib)

Modified:
  releng/9.1/sys/dev/isci/scil/sati.c
Directory Properties:
  releng/9.1/sys/   (props changed)
  releng/9.1/sys/dev/   (props changed)

Modified: releng/9.1/sys/dev/isci/scil/sati.c
==============================================================================
--- releng/9.1/sys/dev/isci/scil/sati.c	Thu Sep  6 16:27:59 2012	(r240167)
+++ releng/9.1/sys/dev/isci/scil/sati.c	Thu Sep  6 16:38:55 2012	(r240168)
@@ -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)
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209061638.q86GctDj051661>