Re: [PATCH 04/11] IB/srp: keep processing commands during host removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <bvanassche@xxxxxxx>
> > 
> > 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux