projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de86b1
)
[PATCH] blktrace: fix hang and no output if first sequence is not expected
author
Jens Axboe
<axboe@suse.de>
Fri, 27 Jan 2006 18:42:30 +0000
(19:42 +0100)
committer
Jens Axboe
<axboe@suse.de>
Fri, 27 Jan 2006 18:42:30 +0000
(19:42 +0100)
blkparse.c
patch
|
blob
|
blame
|
history
diff --git
a/blkparse.c
b/blkparse.c
index 832ae0e6e9da214b9d3edb73b3c3585e08219e02..0d400e09c8d3715f0fe30c86111b5344100c721f 100644
(file)
--- 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);
}