[ofw] [PATCH] DAPL v2.0: cma: reduce output log level in disconnect from WARN to CM_WARN

Davis, Arlin R arlin.r.davis at intel.com
Sat Feb 12 11:27:29 PST 2011


Signed-off-by: Arlin Davis <arlin.r.davis at intel.com>

---
 dapl/openib_cma/cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dapl/openib_cma/cm.c b/dapl/openib_cma/cm.c
index f010b8a..7980cf6 100644
--- a/dapl/openib_cma/cm.c
+++ b/dapl/openib_cma/cm.c
@@ -649,7 +649,7 @@ dapls_ib_disconnect(IN DAPL_EP * ep_ptr, IN DAT_CLOSE_FLAGS close_flags)
 			dapl_os_lock(&ep_ptr->header.lock);
 		}
 		if (ep_ptr->param.ep_state != DAT_EP_STATE_DISCONNECTED) {
-			dapl_log(DAPL_DBG_TYPE_WARN,
+			dapl_log(DAPL_DBG_TYPE_CM_WARN,
 				 " WARNING: disconnect(ep %p, conn %p, id %d) timed out\n",
 				 ep_ptr, conn, (conn ? conn->cm_id : 0));
 			ep_ptr->param.ep_state = DAT_EP_STATE_DISCONNECTED;
-- 
1.7.3






More information about the ofw mailing list