From 79ee97049eba635757c474a66f133822f3edff78 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 27 Jan 2006 19:42:30 +0100 Subject: [PATCH] [PATCH] blktrace: fix hang and no output if first sequence is not expected --- blkparse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blkparse.c b/blkparse.c index 832ae0e..0d400e0 100644 --- a/blkparse.c +++ b/blkparse.c @@ -1622,6 +1622,8 @@ static int check_sequence(struct per_dev_info *pdi, struct trace *t, int force) */ if (bit->sequence == 1) return 0; + if (bit->sequence == smallest_seq_read) + return 0; return check_cpu_map(pdi); } -- 2.25.1