projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1200fd0
)
Zero sectors are strange
author
Jan Kara
<jack@suse.cz>
Thu, 5 May 2016 15:17:09 +0000
(17:17 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/iowatcher/blkparse.c
b/iowatcher/blkparse.c
index 78a16e5944c3d7439aec62f4c4573ff0b9c6e323..c7d1d652c78e6bbe9a513bfeaeca2d2fe0207a49 100644
(file)
--- 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);
/*