svn commit: r241380 - stable/9/sys/dev/tws
Jim Harris
jimharris at FreeBSD.org
Tue Oct 9 19:55:13 UTC 2012
Author: jimharris
Date: Tue Oct 9 19:55:12 2012
New Revision: 241380
URL: http://svn.freebsd.org/changeset/base/241380
Log:
MFC r240901:
Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or
LUNs respectively. This removes a huge number of error messages
from CAM during bus scans.
Modified:
stable/9/sys/dev/tws/tws_cam.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/dev/ (props changed)
Modified: stable/9/sys/dev/tws/tws_cam.c
==============================================================================
--- stable/9/sys/dev/tws/tws_cam.c Tue Oct 9 19:53:15 2012 (r241379)
+++ stable/9/sys/dev/tws/tws_cam.c Tue Oct 9 19:55:12 2012 (r241380)
@@ -529,10 +529,10 @@ tws_scsi_err_complete(struct tws_request
if ( ccb->ccb_h.target_lun ) {
TWS_TRACE_DEBUG(sc, "invalid lun error",0,0);
- ccb->ccb_h.status |= CAM_LUN_INVALID;
+ ccb->ccb_h.status |= CAM_DEV_NOT_THERE;
} else {
TWS_TRACE_DEBUG(sc, "invalid target error",0,0);
- ccb->ccb_h.status |= CAM_TID_INVALID;
+ ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
}
} else {
More information about the svn-src-stable-9
mailing list