diff mbox

[02/12] opensm: torus-2QoS should fail to route if message deadlock is possible.

Message ID 1261169461-2516-3-git-send-email-jaschut@sandia.gov (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Jim Schutt Dec. 18, 2009, 8:50 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_ucast_torus.c b/opensm/opensm/osm_ucast_torus.c
index 7108394..bc87757 100644
--- a/opensm/opensm/osm_ucast_torus.c
+++ b/opensm/opensm/osm_ucast_torus.c
@@ -7659,10 +7659,12 @@  bool routable_torus(struct torus *t, struct fabric *f)
 			}
 		}
 
-	if (t->flags & MSG_DEADLOCK)
+	if (t->flags & MSG_DEADLOCK) {
 		OSM_LOG(&t->osm->log, OSM_LOG_ERROR,
-			"Warning: missing switch topology "
-			"==> message deadlock possible!\n");
+			"Error: missing switch topology "
+			"==> message deadlock!\n");
+		success = false;
+	}
 	return success;
 }