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

Kleber Sacilotto de Souza
2012-11-05T20:54:49Z

On 11/05/2012 05:15 PM, Hal Rosenstock wrote:
> 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.

The driver is not returning the completions because during EEH (Extended
Error Handling) recovery on powerpc systems the PCI slot is frozen, and
we are not going to receive any interrupt from the adapter until we
remove it completely and reset it.

Kleber

>
> -- 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
>>

--
Kleber Sacilotto de Souza
IBM Linux Technology Center