projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97b3219
)
t/btrace2fio: don't dec inflight for requeue
author
Jens Axboe
<axboe@fb.com>
Tue, 11 Nov 2014 16:39:11 +0000
(09:39 -0700)
committer
Jens Axboe
<axboe@fb.com>
Tue, 11 Nov 2014 16:39:11 +0000
(09:39 -0700)
We don't inc it again on issue, so we'll end up with an assert
trigger on inflight going negative.
Signed-off-by: Jens Axboe <axboe@fb.com>
t/btrace2fio.c
patch
|
blob
|
blame
|
history
diff --git
a/t/btrace2fio.c
b/t/btrace2fio.c
index efe25c4c1100b394bc317ad808a575b0a59556fd..04d4a28dd2ccfd8ca85496e6a17dd6724573082c 100644
(file)
--- a/
t/btrace2fio.c
+++ b/
t/btrace2fio.c
@@
-365,8
+365,6
@@
static int handle_trace(struct blk_io_trace *t, struct btrace_pid *p)
if (act == __BLK_TA_QUEUE) {
inflight_add(p, t->sector, t->bytes);
ret = handle_queue_trace(t, p);
- } else if (act == __BLK_TA_REQUEUE) {
- p->o.inflight--;
} else if (act == __BLK_TA_BACKMERGE) {
struct inflight *i;