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

Luben Tuikov
2003-01-21T18:22:45Z

Oliver Neukum wrote:
>
> So a disconnection would look like this:
>
1.
> scsi_set_offline_host(...);
2.
> synchronize_kernel();
3.
> error_queied_commands(...);
4.
> scsi_remove_host();

Not quite. You want to do 3 before 2, to get 2 going as soon
as possible. Futhermore, 3 is partly in LLDD. 1 would
take care of 3 in SCSI Core. See my previous (by date) post.

--
Luben