Re: [PATCH] zfcp: fix missing auto port scan and thus missing target ports

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

 



Steffen,

> Case (1): The only waiter on wka_port->completion_wq is
> zfcp_fc_wka_port_get() trying to open a WKA port. As such it should
> only be woken up by WKA port *open* responses, not by WKA port close
> responses.
>
> Case (2): A close WKA port response coming in just after having sent a
> new open WKA port request and before blocking for the open response
> with wait_event() in zfcp_fc_wka_port_get() erroneously renders the
> wait_event a NOP because the close handler overwrites
> wka_port->status. Hence the wait_event condition is erroneously true
> and it does not enter blocking state.

Applied to 5.20/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Kernel Development]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Info]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Linux Media]     [Device Mapper]

  Powered by Linux