On 01/06/2016 03:39 PM, Sagi Grimberg wrote:
On 05/01/2016 16:26, Bart Van Assche wrote:
The Last WQE Reached event is only generated after one or more work
requests have been queued on the QP associated with a session. Since
session shutdown can start before any work requests have been queued,
use a zero-length RDMA write to wait until a QP has been drained.

Is it just me or is there (a lot) more going on here other than
this patch description?

Hello Sagi,

I will make the patch description more detailed. Sorry if some of this code is hard to follow but that's because of the high level of concurrency in the SRP target driver. Some time ago I documented how session management in the SCST ib_srpt driver works. This driver follows the same model. These notes can be found here: http://sourceforge.net/p/scst/svn/HEAD/tree/trunk/srpt/session-management.txt.

Bart.

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to