From e2634c4c87c4a9c80385a54683192a2e103ea8f7 Mon Sep 17 00:00:00 2001 From: sleybo Date: Tue, 28 Nov 2006 07:37:23 +0000 Subject: [PATCH] [IBAL] handle the IOC_REMOVE event move prints to warning level git-svn-id: svn://openib.tc.cornell.edu/gen1@552 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- trunk/core/al/al_query.c | 2 +- trunk/core/al/kernel/al_ioc_pnp.c | 1 + trunk/core/al/kernel/al_sa_req.c | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/core/al/al_query.c b/trunk/core/al/al_query.c index b378f70c..34e99f5a 100644 --- a/trunk/core/al/al_query.c +++ b/trunk/core/al/al_query.c @@ -351,7 +351,7 @@ query_req_cb( } else { - AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, + AL_PRINT( TRACE_LEVEL_WARNING, AL_DBG_QUERY, ("query failed: %s\n", ib_get_err_str(query_rec.status) ) ); if( p_mad_response ) query_rec.p_result_mad = p_mad_response; diff --git a/trunk/core/al/kernel/al_ioc_pnp.c b/trunk/core/al/kernel/al_ioc_pnp.c index 20e14b8f..cf720090 100644 --- a/trunk/core/al/kernel/al_ioc_pnp.c +++ b/trunk/core/al/kernel/al_ioc_pnp.c @@ -2939,6 +2939,7 @@ __notify_users( CL_ASSERT( pnp_get_class( p_reg->pnp_class ) == IB_PNP_IOC ); p_context = pnp_create_context( p_reg, &p_event->p_rec->guid); break; + case IB_PNP_IOC_REMOVE: case IB_PNP_IOC_PATH_ADD: case IB_PNP_IOC_PATH_REMOVE: CL_ASSERT( pnp_get_class( p_reg->pnp_class ) == IB_PNP_IOC ); diff --git a/trunk/core/al/kernel/al_sa_req.c b/trunk/core/al/kernel/al_sa_req.c index 7ea35108..f5dfe73a 100644 --- a/trunk/core/al/kernel/al_sa_req.c +++ b/trunk/core/al/kernel/al_sa_req.c @@ -724,7 +724,7 @@ sa_req_send_comp_cb( if( p_request_mad->status != IB_WCS_SUCCESS ) { /* Notify the requestor of the result. */ - AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR, + AL_PRINT( TRACE_LEVEL_WARNING, AL_DBG_QUERY, ("request failed - notifying user\n") ); p_sa_req = p_request_mad->send_context1; -- 2.41.0