From owner-cvs-all Sat May 8 18:27:53 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D7FE5155F6; Sat, 8 May 1999 18:27:50 -0700 (PDT) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA53112; Sat, 8 May 1999 18:27:50 -0700 (PDT) (envelope-from ken@FreeBSD.org) Message-Id: <199905090127.SAA53112@freefall.freebsd.org> From: Kenneth Merry Date: Sat, 8 May 1999 18:27:50 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/cam cam_periph.c src/sys/cam/scsi scsi_all.h scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk ken 1999/05/08 18:27:49 PDT Modified files: (Branch: RELENG_3) sys/cam cam_periph.c sys/cam/scsi scsi_all.h scsi_cd.c scsi_ch.c scsi_da.c scsi_pass.c scsi_pt.c scsi_sa.c Log: MFC: Add a facility in the CAM error handling code to retry selection timeouts. If the client requests that the error recovery code retry a selection timeout, it will be retried after half a second. The delay is to give the device time to recover. For most of these drivers, I only added selection timeout retries where they were also retrying unit attention type errors. The sa(4) driver calls saerror() in a number of places, but most of them don't request retrying unit attentions. Also, bump the default minimum CD changer timeout from 2 to 5 seconds and the maximum timeout from 10 to 15 seconds. Some Pioneer changers seem to have trouble with the shorter timeout. Reviewed by: gibbs Revision Changes Path 1.9.2.2 +18 -2 src/sys/cam/cam_periph.c 1.6.2.1 +2 -1 src/sys/cam/scsi/scsi_all.h 1.14.2.5 +21 -17 src/sys/cam/scsi/scsi_cd.c 1.9.2.2 +18 -14 src/sys/cam/scsi/scsi_ch.c 1.19.2.4 +8 -3 src/sys/cam/scsi/scsi_da.c 1.5.2.3 +2 -2 src/sys/cam/scsi/scsi_pass.c 1.4.2.2 +3 -1 src/sys/cam/scsi/scsi_pt.c 1.16.2.3 +4 -2 src/sys/cam/scsi/scsi_sa.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message