Re: [linux-usb-devel] Re: [PATCH] USB changes for 2.5.58

Patrick Mansfield
2003-01-24T00:15:37Z

On Thu, Jan 23, 2003 at 03:28:36PM -0500, Doug Ledford wrote:
> On Thu, Jan 23, 2003 at 08:40:41PM +0100, Oliver Neukum wrote:
>
> No, scsi_set_device_offline() schedules the error handler thread for that
> host to be woken up.
>

Doug -

Why would the error handler need to run?

If the LLDD fails all outstanding command with an appropriate error (like
DID_NO_CONNECT), the failure is passed to the upper levels.

It seems that we could just set the device offline, make sure we do not
send commands for an offline device, and let the adapter fail all
outstanding commands.

-- Patrick Mansfield