Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
8816ef0d
Commit
8816ef0d
authored
Mar 06, 2014
by
Shane Snyder
Browse files
Small bug fixes to bgp io workload generator
parent
d6fdec10
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/workload/codes-bgp-io-wrkld.c
View file @
8816ef0d
...
...
@@ -164,7 +164,10 @@ void bgp_io_workload_get_next(int rank, struct codes_workload_op *op)
/* if no more entries are there, delete the hash table */
if
(
!
rank_tbl_pop
)
qhash_finalize
(
rank_tbl
);
{
qhash_finalize
(
rank_tbl
);
rank_tbl
=
NULL
;
}
}
break
;
case
CODES_WK_CLOSE
:
...
...
@@ -181,6 +184,7 @@ void bgp_io_workload_get_next(int rank, struct codes_workload_op *op)
case
CODES_WK_OPEN
:
{
op
->
u
.
open
.
file_id
=
(
next_wrkld
->
next_event
).
var
[
0
];
op
->
u
.
open
.
create_flag
=
1
;
}
break
;
case
CODES_WK_READ
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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