diff mbox

[6/9] Zero sectors are strange

Message ID 1462461432-1900-7-git-send-email-jack@suse.cz (mailing list archive)
State New, archived
Headers show

Commit Message

Jan Kara May 5, 2016, 3:17 p.m. UTC
Signed-off-by: Jan Kara <jack@suse.cz>
---
 iowatcher/blkparse.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox

Patch

diff --git a/iowatcher/blkparse.c b/iowatcher/blkparse.c
index 78a16e5944c3..c7d1d652c78e 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);
 			/*