RE: How to resurrect offlined SCSI devices?

James Bottomley
2004-05-26T16:55:23Z

On Wed, 2004-05-26 at 11:17, Infante, Jon wrote:
> Wouldn't it be acceptable for the lldd to call scsi_scan_host() at this
> point to force a scsi mid layer rescan of the devices attached to the hba?
> In a fibre channel environment a device can disappear for a long period of
> time, then come back. The driver knows exactly when it comes back and should
> be able to tell the scsi layer.

Well, only if the LLD previously did a remove of the device, which I
don't think it will have done.

I'd really like to see all fibre events (like loop up/down, device
add/remove) handled inside the FC transport class. From there, it
probably still make sense to use hotplug as the mechanism for importing
user policy.

James