Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
3776b031
Commit
3776b031
authored
Jul 08, 2003
by
Leigh B. Stoller
Browse files
Init the allocstate on virt nodes to INIT_CLEAN wheb allocating,
to be complete and to avoid warnings elsewhere.
parent
03df3b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/assign_wrapper.in
View file @
3776b031
...
...
@@ -1334,6 +1334,9 @@ if (scalar(keys(%isremotenode))) {
push
(
@
{
$p2vmap
{
$phys_nodeid
}},
$virtual
);
$jailed
{
$virtual
}
=
$jailflag
;
# Virtual nodes are always clean. Also prevents errors elsewhere.
TBSetNodeAllocState
(
$physical
,
TBDB_ALLOCSTATE_RES_INIT_CLEAN
());
}
TBDebugTimeStamp
("
wanassign finished
");
}
...
...
@@ -1436,6 +1439,9 @@ foreach my $pnode (keys(%virtnodes)) {
TBIsNodeVirtual
(
$physical
,
\
$jailflag
);
$jailed
{
$virtual
}
=
$jailflag
;
# Virtual nodes are always clean. Also prevents errors elsewhere.
TBSetNodeAllocState
(
$physical
,
TBDB_ALLOCSTATE_RES_INIT_CLEAN
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment