From owner-cvs-all Sat May 8 18:25:41 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 1B9DB151CA; Sat, 8 May 1999 18:25:39 -0700 (PDT) (envelope-from ken@FreeBSD.org) Received: (from ken@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA52847; Sat, 8 May 1999 18:25:39 -0700 (PDT) (envelope-from ken@FreeBSD.org) Message-Id: <199905090125.SAA52847@freefall.freebsd.org> From: Kenneth Merry Date: Sat, 8 May 1999 18:25:38 -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:25:38 PDT Modified files: 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: 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.13 +18 -2 src/sys/cam/cam_periph.c 1.7 +2 -1 src/sys/cam/scsi/scsi_all.h 1.20 +21 -17 src/sys/cam/scsi/scsi_cd.c 1.11 +18 -14 src/sys/cam/scsi/scsi_ch.c 1.24 +8 -3 src/sys/cam/scsi/scsi_da.c 1.9 +2 -2 src/sys/cam/scsi/scsi_pass.c 1.7 +3 -1 src/sys/cam/scsi/scsi_pt.c 1.23 +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