Re: [PATCH 13/15] IB/srpt: Detect session shutdown reliably

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

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux