From a3983763165b2c002a6233212b8ab24c1964535b Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Tue, 20 Sep 2005 09:12:34 +0200 Subject: [PATCH] [PATCH] blkparse: account skips for file reads as well --- blkparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blkparse.c b/blkparse.c index 9076631..b586cb5 100644 --- a/blkparse.c +++ b/blkparse.c @@ -1149,8 +1149,8 @@ static void show_entries_rb(int piped) * on SMP systems. to prevent stalling on lost events, * only allow an event to us a few times */ - if (piped && bit->sequence != (pdi->last_sequence + 1)) { - if (t->skipped < 5) { + if (bit->sequence != (pdi->last_sequence + 1)) { + if (piped && t->skipped < 5) { t->skipped++; break; } else { -- 2.25.1