[openib-general] Re: [PATCH] SRP: Avoid a potential deadlock
Ishai Rabinovitz
ishai at mellanox.co.il
Mon May 1 12:58:50 PDT 2006
On Mon, May 01, 2006 at 11:27:24AM -0700, Roland Dreier wrote:
> Ishai> Avoid a potential dead-lock. In srp_disconnect_target
> Ishai> there is a call to ib_send_cm_dreq and a wait for
> Ishai> completion If when getting DREP there is no comp no one
> Ishai> will end this wait
>
> I thought that after the DREP is received, the CM will go through
> timewait and we will eventually get a TIMEWAIT_EXIT event (with a
> completion). Am I wrong? Have you actually seen this deadlock happen
> in practice?
>
> - R.
I had a deadlock and I suspected at this. I'm not sure that it was the
reason for the deadlock.
Vu, What do you think?
--
Ishai Rabinovitz
More information about the general
mailing list