summaryrefslogtreecommitdiff
path: root/iowatcher
diff options
context:
space:
mode:
Diffstat (limited to 'iowatcher')
-rw-r--r--iowatcher/blkparse.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/iowatcher/blkparse.c b/iowatcher/blkparse.c
index c9ae3e7..43eb269 100644
--- a/iowatcher/blkparse.c
+++ b/iowatcher/blkparse.c
@@ -1052,6 +1052,11 @@ void add_pending_io(struct trace *trace, struct graph_line_data *gld)
hash_queued_io(trace->io);
return;
}
+ if (action == __BLK_TA_REQUEUE) {
+ if (ios_in_flight > 0)
+ ios_in_flight--;
+ return;
+ }
if (action != __BLK_TA_ISSUE)
return;