Date: Sat, 8 May 1999 18:25:38 -0700 (PDT) From: Kenneth Merry <ken@FreeBSD.org> 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 Message-ID: <199905090125.SAA52847@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905090125.SAA52847>
