PERFORCE change 63279 for review
Peter Wemm
peter at FreeBSD.org
Sun Oct 17 03:52:39 PDT 2004
http://perforce.freebsd.org/chv.cgi?CH=63279
Change 63279 by peter at peter_daintree on 2004/10/17 10:51:44
argh. increase disk command timeout from 5 to 30 seconds.
On my dying maxtor "sata" drive, it takes 10-20 seconds to
read some sectors. Meanwhile, the read and subsequent identify
commands timeout and the kernel decides the drive is gone. (!).
It wasn't gone, just slow. Increasing the timeout means that we
do successfully read.
Affected files ...
.. //depot/projects/hammer/sys/dev/ata/ata-disk.c#26 edit
Differences ...
==== //depot/projects/hammer/sys/dev/ata/ata-disk.c#26 (text+ko) ====
@@ -252,7 +252,7 @@
request->device = atadev;
request->bio = bp;
request->callback = ad_done;
- request->timeout = 5;
+ request->timeout = 30;
request->retries = 2;
request->data = bp->bio_data;
request->bytecount = bp->bio_bcount;
More information about the p4-projects
mailing list