summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2016-05-05 17:17:09 +0200
committerJens Axboe <axboe@fb.com>2016-05-05 09:20:18 -0600
commitca215e985fadd8de53605ece5d31f924e0f8fde0 (patch)
tree7c610887309aa749509b7a8a2b24fd4fe218dbfe
parent1200fd07bb6f71be72749b306bd7647fe8009af5 (diff)
downloadblktrace-ca215e985fadd8de53605ece5d31f924e0f8fde0.tar.gz
blktrace-ca215e985fadd8de53605ece5d31f924e0f8fde0.tar.bz2
Zero sectors are strange
Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>
-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);
/*