If you're going to do the work, then make the timeout on a per controller
basis (I suppose it should actually be on a per device basis when I think
about it). Maybe add it to the sd disk structs. Then the low level driver
can say "Hey, this is a hardware raid logical volume, I'll make it have a
timeout of 60 seconds" or they can say "this is a passthrough device, 10
seconds is a plenty long timeout". I for one would take the aic7xxx driver
and modify the timeout values back down to about 8 seconds on it's devices.
That's more than enough time for any command it sends to complete. Then the
hardware raid controller drivers are free to do what they want and they can
also timeout logical volumes different from pass through disk devices
(assuming that they are supported and are treated differently on a particular
brand of hardware raid controller).
--Doug Ledford <dledford@redhat.com> http://people.redhat.com/dledford Please check my web site for aic7xxx updates/answers before e-mailing me about problems
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/