On Tue, 2017-02-14 at 10:56 -0800, Bart Van Assche wrote: > Hello Doug, > > The patches in this series are the initiator patches I came up with > while > testing the SRP initiator and target drivers. Please consider these > patches > for inclusion in the upstream kernel. > > The changes compared to the previous version of this series are: > - Left out the "Use the IB_DEVICE_SG_GAPS_REG HCA feature if > supported" patch. > - Added a patch to stop using memory regions with gaps since Laurence > ran >   into an issue with these memory regions that cannot be explained by >   analzying the SRP initiator code only. > - Addressed Leon's comments about patch "Avoid that duplicate > responses >   trigger a kernel bug" and "Add support for draining IB_POLL_DIRECT >   completion queues". > > The patches in this series are: > > Bart Van Assche (8): >   IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS >   IB/srp: Avoid that duplicate responses trigger a kernel bug >   IB/srp: Fix race conditions related to task management >   IB/srp: Document locking conventions >   IB/srp: Make a diagnostic message more informative >   IB/srp: Improve an error path >   IB/core: Add support for draining IB_POLL_DIRECT completion queues >   IB/srp: Drain the send queue before destroying a QP > >  drivers/infiniband/core/cq.c        |  4 +- >  drivers/infiniband/core/verbs.c     | 35 ++++++-------- >  drivers/infiniband/ulp/srp/ib_srp.c | 92 ++++++++++++++++++++++++--- > ---------- >  drivers/infiniband/ulp/srp/ib_srp.h |  1 + >  4 files changed, 77 insertions(+), 55 deletions(-) > > Thanks, > > Bart. Thanks Bart, series applied. -- Doug Ledford     GPG KeyID: B826A3330E572FDD     Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD