On Tue, Nov 22, 2011 at 2:01 PM, Hefty, Sean <[email protected]> wrote:
> Also, be aware that the SA manages multicast joins per node and not per 
> request.  I.e. If node X joins a group twice, followed by 1 leave request, 
> the node will be removed from the group.  The SA does not perform reference 
> counting.  (It cannot distinguish between 2 separate requests, versus a 
> single request that may have been retried.)

Yikes!   So on a single node, if there are two independent
applications that join then leave group membership, the first to leave
will affect the second app?  That's surprising.  Could rdma_cm or some
other local resource maintain a count and only really drop node
membership when the count drops to zero?

Also, the rdma_leave_multicast man page states: "Destroying an
rdma_cm_id will automatically leave all multicast groups."  So this
would indicate that I can't prevent the above problem by not leaving
the group before my app exits.  Is that correct?

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

Reply via email to