]> git.openfabrics.org - ~ardavis/dapl.git/commit
scm: fixes and optimizations for connection scaling
authorArlin Davis <arlin.r.davis@intel.com>
Fri, 26 Jun 2009 21:45:34 +0000 (14:45 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Fri, 26 Jun 2009 21:45:34 +0000 (14:45 -0700)
commit961a4083ffb646c070137abd33e9ba2ea9482685
tree700e6b82400b8231e56a2409e24ae7139f34b63b
parenta60a9e1fce5588cb23f41391b48acf04edd82499
scm: fixes and optimizations for connection scaling

Prioritize accepts on listen ports via FD_READ
process the accepts ahead of other work to avoid
socket half_connection (SYN_RECV) stalls.

Fix dapl_poll to return DAPL_FD_ERROR on
all event error types.

Add new state for socket released, but CR
not yet destroyed. This enables scm to release
the socket resources immediately after exchanging
all QP information. Also, add state to str call.

Only add the CR reference to the EP if it is
RC type. UD has multiple CR's per EP so when
a UD EP disconnect_clean was called, from a
timeout, it destroyed the wrong CR.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_scm/dapl_ib_cm.c
dapl/openib_scm/dapl_ib_util.h