diff options
author | imp <imp@FreeBSD.org> | 1998-10-07 03:09:19 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 1998-10-07 03:09:19 +0000 |
commit | 213e62e351a3b5810e1a903c6251a11a192bdea1 (patch) | |
tree | 48a268b14af1a153a9a3cfa3d5f02fdd61083cbb /sys/cam | |
parent | e99a1c7e41f1f63f52f8739d71b792555adf015a (diff) | |
download | FreeBSD-src-213e62e351a3b5810e1a903c6251a11a192bdea1.zip FreeBSD-src-213e62e351a3b5810e1a903c6251a11a192bdea1.tar.gz |
Up the read capacity timeout from 20 seconds to 60 seconds to keep my
JAZ drive happy. This shouldn't impact fast drives, and will keep cam
from failing on very slow ones (that are spinning up, say). 20
seconds was almost long enough, but not in all cases.
Suggested by: gibbs
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index de80c35..cb1e2fa 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -25,7 +25,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: scsi_da.c,v 1.5 1998/09/20 07:17:11 gibbs Exp $ + * $Id: scsi_da.c,v 1.6 1998/10/07 02:57:57 ken Exp $ */ #include "opt_hw_wdog.h" @@ -255,7 +255,7 @@ daopen(dev_t dev, int flags, int fmt, struct proc *p) MSG_SIMPLE_Q_TAG, rcap, SSD_FULL_SIZE, - /*timeout*/20000); + /*timeout*/60000); ccb->ccb_h.ccb_bp = NULL; error = cam_periph_runccb(ccb, daerror, /*cam_flags*/0, |