projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f12b323
)
blktrace support: discard notify messages
author
Jens Axboe
<jens.axboe@oracle.com>
Wed, 16 May 2007 10:29:06 +0000
(12:29 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Wed, 16 May 2007 10:29:06 +0000
(12:29 +0200)
They are not interesting to us (they contain things like timestamps
and process information).
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 8ba538ae8abc57dc1093df9273b2a894aae81cd8..5825d29714e13627dd9712699a904f752445cd70 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-133,11
+133,7
@@
static void handle_trace(struct thread_data *td, struct blk_io_trace *t,
return;
if (t->action & BLK_TC_ACT(BLK_TC_PC))
return;
-
- /*
- * should not happen, need to look into that...
- */
- if (!t->bytes)
+ if (t->action & BLK_TC_ACT(BLK_TC_NOTIFY))
return;
rw = (t->action & BLK_TC_ACT(BLK_TC_WRITE)) != 0;