Commit ab4657d2 authored by Leigh Stoller's avatar Leigh Stoller

Commit my little pc601 change so that pc601 nodes never get used in

the main tree. Note that this hack should be generalized (as we have
discussed many times).
parent f389da45
...@@ -114,10 +114,12 @@ $result = ...@@ -114,10 +114,12 @@ $result =
"left join reserved as b on a.node_id=b.node_id ". "left join reserved as b on a.node_id=b.node_id ".
"left join reserved as m on a.phys_nodeid=m.node_id ". "left join reserved as m on a.phys_nodeid=m.node_id ".
"left join nodes as n on a.phys_nodeid=n.node_id ". "left join nodes as n on a.phys_nodeid=n.node_id ".
"where b.node_id is null and (a.role='testnode' or ". "where b.node_id is null and ".
" (a.role='virtnode' and n.status='up' and ". " a.type!='pc601' and ".
" (m.node_id is null or ". " (a.role='testnode' or ".
" m.pid!='$DEADPID' or m.eid!='$DEADEID')))"); " (a.role='virtnode' and n.status='up' and ".
" (m.node_id is null or ".
" m.pid!='$DEADPID' or m.eid!='$DEADEID')))");
while (($node,$type) = $result->fetchrow_array) { while (($node,$type) = $result->fetchrow_array) {
# Shark hack # Shark hack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment