summaryrefslogtreecommitdiff
path: root/iowatcher/blkparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'iowatcher/blkparse.c')
-rw-r--r--iowatcher/blkparse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/iowatcher/blkparse.c b/iowatcher/blkparse.c
index 78a16e5..c7d1d65 100644
--- a/iowatcher/blkparse.c
+++ b/iowatcher/blkparse.c
@@ -1097,6 +1097,8 @@ void add_pending_io(struct trace *trace, struct graph_line_data *gld)
return;
if (action == __BLK_TA_QUEUE) {
+ if (io->sector == 0)
+ return;
if (trace->found_issue || trace->found_completion) {
pio = hash_queued_io(trace->io);
/*