[ofa-general] [PATCH 4/5] use the monitored node's redirect information for this get_lid call because it is now available
Ira Weiny
weiny2 at llnl.gov
Wed Nov 7 18:58:22 PST 2007
>From ae65158c0f481936be940899c6e4782973888215 Mon Sep 17 00:00:00 2001
From: Ira K. Weiny <weiny2 at llnl.gov>
Date: Wed, 7 Nov 2007 11:22:44 -0800
Subject: [PATCH] use the monitored node's redirect information for this get_lid call because it
is now available
Signed-off-by: Ira K. Weiny <weiny2 at llnl.gov>
---
opensm/opensm/osm_perfmgr.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/opensm/opensm/osm_perfmgr.c b/opensm/opensm/osm_perfmgr.c
index 767ba8d..6b84cff 100644
--- a/opensm/opensm/osm_perfmgr.c
+++ b/opensm/opensm/osm_perfmgr.c
@@ -1024,9 +1024,7 @@ osm_perfmgr_check_overflow(osm_perfmgr_t * pm, __monitored_node_t *mon_node,
cl_plock_acquire(pm->lock);
p_node = osm_get_node_by_guid(pm->subn, cl_hton64(mon_node->guid));
- /* Could find monitored node for this rather than */
- /* potentially redoing redirection */
- lid = get_lid(p_node, port, NULL);
+ lid = get_lid(p_node, port, mon_node);
cl_plock_release(pm->lock);
if (lid == 0) {
osm_log(pm->log, OSM_LOG_ERROR,
--
1.5.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-use-the-monitored-node-s-redirect-information-for-th.patch
Type: application/octet-stream
Size: 1047 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20071107/49dcce38/attachment.obj>
More information about the general
mailing list