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
137fa49e
Commit
137fa49e
authored
Jan 26, 2015
by
Mike Hibler
Browse files
Fixes to BSTORE event send.
parent
89f83d2e
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Experiment.pm.in
View file @
137fa49e
...
...
@@ -2203,8 +2203,10 @@ sub PreSwap($$$$)
#
if ($which eq $EXPT_SWAPOUT && $self->UsingRemBlockstore() > 0) {
require event;
my $pid = $self->pid();
my $eid = $self->eid();
print
STDERR
"Telling nodes to shutdown remote blockstores\n";
print "Telling nodes to shutdown remote blockstores\n";
event::EventSendWarn(objtype => "BSTORE",
objname => "rem-bstore",
eventtype => "STOP",
...
...
@@ -5009,9 +5011,10 @@ sub UsingRemBlockstore($)
return -1
if (!ref($self));
# Must be swapped in
# Must be swapped in
or in the process of swapping out (PreSwap above)
return -1
if ($self->state() ne EXPTSTATE_ACTIVE);
if ($self->state() ne EXPTSTATE_ACTIVE &&
$self->state() ne EXPTSTATE_SWAPPING);
my $idx = $self->idx();
my $query_result =
...
...
Write
Preview
Markdown
is supported
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