svn commit: r263299 - stable/10/sys/cam

Alexander Motin mav at FreeBSD.org
Tue Mar 18 14:18:45 UTC 2014


Author: mav
Date: Tue Mar 18 14:18:45 2014
New Revision: 263299
URL: http://svnweb.freebsd.org/changeset/base/263299

Log:
  MFC r262741:
  Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately.

Modified:
  stable/10/sys/cam/cam_periph.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/cam_periph.c
==============================================================================
--- stable/10/sys/cam/cam_periph.c	Tue Mar 18 13:47:27 2014	(r263298)
+++ stable/10/sys/cam/cam_periph.c	Tue Mar 18 14:18:45 2014	(r263299)
@@ -1655,6 +1655,7 @@ cam_periph_error(union ccb *ccb, cam_fla
 	case CAM_REQ_TOO_BIG:
 	case CAM_LUN_INVALID:
 	case CAM_TID_INVALID:
+	case CAM_FUNC_NOTAVAIL:
 		error = EINVAL;
 		break;
 	case CAM_SCSI_BUS_RESET:


More information about the svn-src-stable-10 mailing list