From: Jens Axboe Date: Thu, 23 Aug 2007 07:03:26 +0000 (+0200) Subject: blktrace: skip notify traces X-Git-Tag: fio-1.17.1~4 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=f3f72c5e0a029a928a09a8ab0fc9ca2dbcf08ae1;p=fio.git blktrace: skip notify traces Fio will not interpret them correctly, resulting in weird behaviour (like replaying that seems to hang, but is merely just waiting for a very long time). Fixes the issue reported by Joshua Root. Signed-off-by: Jens Axboe --- diff --git a/blktrace.c b/blktrace.c index b4d05c73..58f28ceb 100644 --- a/blktrace.c +++ b/blktrace.c @@ -281,6 +281,8 @@ int load_blktrace(struct thread_data *td, const char *filename) log_err("fio: discarded %d of %d\n", ret, t.pdu_len); goto err; } + if (t.action & BLK_TC_ACT(BLK_TC_NOTIFY)) + continue; if (!ttime) { ttime = t.time; cpu = t.cpu;