Re: [RFC 18/34] iscsi-target: call complete on conn_logout_comp

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

 



On Mon, Feb 15, 2016 at 07:07:19PM +0200, Sagi Grimberg wrote:
> >+	if ((conn->conn_transport->transport_type == ISCSI_TCP) ||
> >+	    (conn->conn_transport->transport_type == ISCSI_TCP_CXGB4))
> >  		complete(&conn->conn_logout_comp);
> 
> IMO, this is an indication that this condition is a bandage in the first
> place...

Agreed.  Nevermind the fact that a spurious complete() is perfectly
harmless..

> While this is unrelated to the patch set, we should look into the iscsi
> termination sequences more closely and look if we can dispatch some
> logic to the drivers in places they defer. It will make the code much
> less complicated.

Yes, all I've seen in this series so far suggest that the integration
is a complete mess.  I think this really needs to go back to the drawing
board.
--
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