On Mon, 2012-11-26 at 10:43 +0100, Bart Van Assche wrote:
> On 11/26/12 05:44, David Dillow wrote:
> > From: Bart Van Assche <[email protected]>
> > 
> > Some SCSI upper layer drivers, e.g. sd, issue SCSI commands from
> > inside scsi_remove_host() (see also the sd_shutdown() call in
> > sd_remove()). Make sure that these commands have a chance to reach
> > the SCSI device.

> Hi Dave,
> 
> After I posted the patch on which the above patch has been based I
> realized that it can be simplified. Since the patch called "Eliminate
> state SRP_TARGET_CONNECTING" blocks the SCSI host as long as the RDMA
> RC connection is being reconnected srp_queuecommand() won't be invoked
> during the "disconnected" or "error" state. How about adding the patch
> below just after the patch that eliminates the state
> SRP_TARGET_CONNECTING ?

Right, I left off out the part of that patch that blocks the target as I
wanted to think about its implications a bit more. I think it is
probably the right thing to do, and will likely add that functionality
back.

-- 
Dave Dillow
National Center for Computational Science
Oak Ridge National Laboratory
(865) 241-6602 office

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to