Date: Tue, 18 Mar 2014 14:19:53 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r263300 - stable/9/sys/cam Message-ID: <201403181419.s2IEJrUQ077633@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Mar 18 14:19:53 2014 New Revision: 263300 URL: http://svnweb.freebsd.org/changeset/base/263300 Log: MFC r262741: Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately. Modified: stable/9/sys/cam/cam_periph.c Directory Properties: stable/9/ (props changed) stable/9/sys/ (props changed) Modified: stable/9/sys/cam/cam_periph.c ============================================================================== --- stable/9/sys/cam/cam_periph.c Tue Mar 18 14:18:45 2014 (r263299) +++ stable/9/sys/cam/cam_periph.c Tue Mar 18 14:19:53 2014 (r263300) @@ -1662,6 +1662,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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403181419.s2IEJrUQ077633>