Subject: sd read/write timeout
To: None <tech-kern@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: tech-kern
Date: 05/19/2000 18:04:43
Hi,
in sd.c, the timeout for a READ or WRITE command is set to 60000, which is
60s (!). Does it really need to be so high ? For sddump it's set to 10s
which looks more reasonable.
Such a long timeout is annoying with hot-plug hardware: you may unplug the
disk while a command is active, and it takes 1mn to timeout. The RAID device
using this is hung for 1mn as well :(
If noone object I'll change this to 10000 (10s) in a few days.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--