projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9309cb
)
blktrace: skip notify traces
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 23 Aug 2007 07:03:26 +0000
(09:03 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 23 Aug 2007 07:03:26 +0000
(09:03 +0200)
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 <jens.axboe@oracle.com>
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index b4d05c739cdc6843dedda732908dbd67fdfb21de..58f28ceb664db93a4ca0e97f0405a066929d3b38 100644
(file)
--- 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;