[ofa-general] [PATCH] IB/core: handle race between elements in qork queues after event

Roland Dreier rdreier at cisco.com
Mon May 5 15:54:49 PDT 2008


 > For consumers, the patch doesn't make things worse. Before the patch
 > mads are sent to the wrong SM and now they are now blocked before
 > they are sent. Consumers can be improved if they examine the return
 > code and respond to EAGAIN properly but even without an improvement
 > the situation is not getting worse in in some cases it gets better.

I guess I can believe things don't get worse but I still don't know how
this makes things better.  With the current code the request is lost
because it goes to the wrong SM; with the new code the request is failed
by the SA layer.  So in both cases the consumer just has to try again.

So is there some practical benefit we see by adding this code?

 - R.



More information about the general mailing list