Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
9bb15935
Commit
9bb15935
authored
Feb 02, 2017
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor update to frisbee events, now that the events are reporting
MB written instead of bytes written.
parent
4fb328bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tbsetup/libosload_new.pm.in
tbsetup/libosload_new.pm.in
+2
-4
No files found.
tbsetup/libosload_new.pm.in
View file @
9bb15935
...
...
@@ -43,7 +43,6 @@ use NodeType;
use
Interface
;
use
OSImage
;
use
User
;
use
Blockstore
;
#
For
ConvertToMebi
();
use
EmulabConstants
;
use
English
;
use
event
;
...
...
@@ -855,7 +854,7 @@ sub osload($$$) {
my $nodeobject = $self->node($node_id);
my $wbytes = event_notification_get_string($handle,
$notification,
"BYTES_WRITTEN");
"
M
BYTES_WRITTEN");
$self->nodeinfo($nodeobject, 'frisbeestatus',
{"when" => $et,
"wbytes" => $wbytes,
...
...
@@ -1304,8 +1303,7 @@ sub WaitTillReloadDone($$$$$@)
$self->nodeinfo($nodeobject, "frisbeestatus");
if (defined($frisbeestatus)) {
my $wbytes = $frisbeestatus->{"wbytes"};
my $mebi = Blockstore::ConvertToMebi("${wbytes}B");
print STDERR "$mebi MiB written.";
print STDERR "${wbytes}MB written.";
}
print STDERR "\n";
}
...
...
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