Zero sectors are strange
authorJan Kara <jack@suse.cz>
Thu, 5 May 2016 15:17:09 +0000 (17:17 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 5 May 2016 15:20:18 +0000 (09:20 -0600)
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
iowatcher/blkparse.c

index 78a16e5944c3d7439aec62f4c4573ff0b9c6e323..c7d1d652c78e6bbe9a513bfeaeca2d2fe0207a49 100644 (file)
@@ -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);
                        /*