projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
4cbe390
)
Merge branch 'gnuplot-tabs' of https://github.com/kapsh/fio
author
Jens Axboe
<axboe@kernel.dk>
Wed, 31 Jul 2019 16:54:43 +0000
(10:54 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 31 Jul 2019 16:54:43 +0000
(10:54 -0600)
* 'gnuplot-tabs' of https://github.com/kapsh/fio:
fio2gnuplot: fix TabErrors when running with Python 3
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index 910b7deb77ccba9a15b96fa1b66496b166623d11..80df28548efba23f52652abab32926fc8dbcf65b 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-557,10
+557,10
@@
static unsigned long long get_next_buflen(struct thread_data *td, struct io_u *i
for (i = 0; i < td->o.bssplit_nr[ddir]; i++) {
struct bssplit *bsp = &td->o.bssplit[ddir][i];
+ if (!bsp->perc)
+ continue;
buflen = bsp->bs;
perc += bsp->perc;
- if (!perc)
- break;
if ((r / perc <= frand_max / 100ULL) &&
io_u_fits(td, io_u, buflen))
break;