> Another possible approach is to make the CM timeout configurable for
> kernel clients only. How about creating two versions of struct
> rdma_conn_param - the existing version for communication between user
> space and kernel and a second version for in-kernel clients only ? In
> that second version a field could be added that allows to specify the CM
> timeout.

A single structure with a new field is sufficient.  A value of 0 could just 
mean the default.  But the timeout in this instance is per request, with the 
number of retries set to the max for IB (15).  These are IB specific.  It 
sounds like you're wanting to limit the total timeout.

Btw, up til now most of the requests regarding CM timeouts has been to increase 
it.  We need to make sure that we don't end up breaking that.  Even if we set 
this timeout to 0, the total timeout for a connection request is 2 x packet 
lifetime x # retries.  With a 1 second packet lifetime, that's still 30 
seconds.  What timeout range are you looking for?  The app could always set a 
separate timer and cancel the request as well.
--
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