Re: [PATCH] IB: fix task hanging on error recovery

Hal Rosenstock
2012-11-05T19:15:16Z

On 11/5/2012 1:21 PM, Hefty, Sean wrote:
>>> drivers/infiniband/core/ucm.c | 2 +-
>>> drivers/infiniband/core/ucma.c | 2 +-
>>
>> On these files, as far as I understand this code from quick looking, I'm
>> not sure on what
>> exactly the completion objects protects, Sean?
>
> These protect against the caller trying to destroy an object that is in use. For example, it handles the case where the user calls 'connect' on a given context, then calls 'destroy' on that same context from another thread.
>
> We shouldn't need to deal with any timeouts at this level.

I believe there's some lower level issue which needs to be found and
fixed where some driver is not returning the completions for some reason.

-- Hal

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