From owner-svn-src-all@FreeBSD.ORG Tue Mar 18 14:19:53 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9B3C094B; Tue, 18 Mar 2014 14:19:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 882987C4; Tue, 18 Mar 2014 14:19:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s2IEJr4g077634; Tue, 18 Mar 2014 14:19:53 GMT (envelope-from mav@svn.freebsd.org) Received: (from mav@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s2IEJrUQ077633; Tue, 18 Mar 2014 14:19:53 GMT (envelope-from mav@svn.freebsd.org) Message-Id: <201403181419.s2IEJrUQ077633@svn.freebsd.org> From: Alexander Motin Date: Tue, 18 Mar 2014 14:19:53 +0000 (UTC) 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 X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2014 14:19:53 -0000 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: