projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
io_u_mark_depth: just set index, don't fall through
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index 53921e85ddbb121e026b594ceb63835e88d74d83..9aab97f7b8a653f4a4f6181a8861d1289043199e 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-363,17
+363,22
@@
void io_u_mark_depth(struct thread_data *td, struct io_u *io_u)
switch (td->cur_depth) {
default:
switch (td->cur_depth) {
default:
- index++;
+ index = 6;
+ break;
case 32 ... 63:
case 32 ... 63:
- index++;
+ index = 5;
+ break;
case 16 ... 31:
case 16 ... 31:
- index++;
+ index = 4;
+ break;
case 8 ... 15:
case 8 ... 15:
- index++;
+ index = 3;
+ break;
case 4 ... 7:
case 4 ... 7:
- index++;
+ index = 2;
+ break;
case 2 ... 3:
case 2 ... 3:
- index
++
;
+ index
= 1
;
case 1:
break;
}
case 1:
break;
}