[IBAL] handle the IOC_REMOVE event
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 28 Nov 2006 07:37:23 +0000 (07:37 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 28 Nov 2006 07:37:23 +0000 (07:37 +0000)
move prints to warning level

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@552 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/al_query.c
core/al/kernel/al_ioc_pnp.c
core/al/kernel/al_sa_req.c

index b378f70..34e99f5 100644 (file)
@@ -351,7 +351,7 @@ query_req_cb(
        }\r
        else\r
        {\r
-               AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR,\r
+               AL_PRINT( TRACE_LEVEL_WARNING, AL_DBG_QUERY,\r
                        ("query failed: %s\n", ib_get_err_str(query_rec.status) ) );\r
                if( p_mad_response )\r
                        query_rec.p_result_mad = p_mad_response;\r
index 20e14b8..cf72009 100644 (file)
@@ -2939,6 +2939,7 @@ __notify_users(
                CL_ASSERT( pnp_get_class( p_reg->pnp_class ) == IB_PNP_IOC );\r
                p_context = pnp_create_context( p_reg, &p_event->p_rec->guid);\r
                break;\r
+       case IB_PNP_IOC_REMOVE:\r
        case IB_PNP_IOC_PATH_ADD:\r
        case IB_PNP_IOC_PATH_REMOVE:\r
                CL_ASSERT( pnp_get_class( p_reg->pnp_class ) == IB_PNP_IOC );\r
index 7ea3510..f5dfe73 100644 (file)
@@ -724,7 +724,7 @@ sa_req_send_comp_cb(
        if( p_request_mad->status != IB_WCS_SUCCESS )\r
        {\r
                /* Notify the requestor of the result. */\r
-               AL_PRINT( TRACE_LEVEL_ERROR, AL_DBG_ERROR,\r
+               AL_PRINT( TRACE_LEVEL_WARNING, AL_DBG_QUERY,\r
                        ("request failed - notifying user\n") );\r
 \r
                p_sa_req = p_request_mad->send_context1;\r