Date: Tue, 4 Mar 2014 15:07:01 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r262741 - head/sys/cam Message-ID: <201403041507.s24F71E6059216@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Tue Mar 4 15:07:00 2014 New Revision: 262741 URL: http://svnweb.freebsd.org/changeset/base/262741 Log: Do not retry on CAM_FUNC_NOTAVAIL error, but return immediately. MFC after: 2 weeks Modified: head/sys/cam/cam_periph.c Modified: head/sys/cam/cam_periph.c ============================================================================== --- head/sys/cam/cam_periph.c Tue Mar 4 14:49:05 2014 (r262740) +++ head/sys/cam/cam_periph.c Tue Mar 4 15:07:00 2014 (r262741) @@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403041507.s24F71E6059216>