Re: Aic7x_x_x 6.3.4 && Aic79xx 2.0.5 Updates

James Bottomley
2003-12-27T15:54:12Z

On Sat, 2003-12-27 at 09:17, Alan Cox wrote:
> Or install your own EH handler. You don't have to use the kernel eh at
> all, you can just opt out of it and for some cards like smart raid
> devices its precisely the right thing to do. I can believe the argument
> that for fast failover you want to do EH differently, and nothing in the
> architecture seems to make that hard providing a driver is willing to
> opt cleanly out of the scsi_eh handler.

Well, that's what the eh_strategy_handler hook is for.

It certainly makes sense to do this for pseudo-scsi devices, like RAID
cards. But, for standard transports, like parallel SCSI and Fibre, I'd
much rather see a standardised error handling library as part of the
stack, with the mid-layer providing standard transport recovery
functions on a per-transport basis, and the Upper Layer Drivers
providing device specific handling.

> Similarly it would be nice to be able to revector the actual scsi eh
> timeouts via an optional handler. Something of the form

That's a good idea...do you want to send in the patches?

James