Signed-off-by: Albert L. Chu <[email protected]>
---
 opensm/osm_perfmgr.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c
index 2b7ea6a..bfa63dc 100644
--- a/opensm/osm_perfmgr.c
+++ b/opensm/osm_perfmgr.c
@@ -1017,6 +1017,9 @@ void osm_perfmgr_process(osm_perfmgr_t * pm)
        if (pm->sweep_state == PERFMGR_SWEEP_ACTIVE ||
            pm->sweep_state == PERFMGR_SWEEP_SUSPENDED) {
                cl_spinlock_release(&pm->lock);
+               OSM_LOG(pm->log, OSM_LOG_INFO,
+                       "PM sweep state %d, skipping sweep\n",
+                       pm->sweep_state);
                return;
        }
 
-- 
1.7.1



--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to