On 01/06/2016 03:21 PM, Sagi Grimberg wrote:
Avoid that srpt_close_session() waits if it doesn't have to wait.
Can you explain when it doesn't have to wait? is it possible that
srpt_release_channel_work() was already triggered? isn't that a problem?
Hello Sagi,
The target core can decide to shut down an RDMA channel or a channel
shutdown can be the result of the reception of a DREQ message. It is in
the latter case that srpt_release_channel_work() can have finished
before srpt_close_session() is called.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html