]> git.openfabrics.org - ~ardavis/dapl.git/commit
cma: improve serialization of destroy and event processing
authorArlin Davis <arlin.r.davis@intel.com>
Mon, 28 Sep 2009 17:46:26 +0000 (10:46 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Mon, 28 Sep 2009 17:46:26 +0000 (10:46 -0700)
commitb31b64d60abe7c6c1a83484db97176d225076b30
tree3d14efd085d32b8c8447c6680161f6c87c0f087e
parenta4adf463695ba75beaa1fe79d514346bf5fe2cb5
cma: improve serialization of destroy and event processing

WinOF testing with slightly different scheduler and verbs
showed some issues with cleanup. Add better protection around
destroy and event processing thread.

Remove destroy flag and add refs counting to conn objects
to block destroy until all references are cleared. Add
locking aroung ref counting and passive and active
event processing.

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