projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0a0b5
)
blktrace: don't re-clear ipo
author
Jens Axboe
<axboe@kernel.dk>
Thu, 26 Apr 2018 19:22:15 +0000
(13:22 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 26 Apr 2018 19:22:15 +0000
(13:22 -0600)
We overwrite the init of the list entry.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
blktrace.c
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.c
b/blktrace.c
index 71ac412ba5e0c3f451967f61dd5405246b957f21..1d5403a5a0fc59cad41278ed8a368033c733fcf0 100644
(file)
--- a/
blktrace.c
+++ b/
blktrace.c
@@
-281,7
+281,6
@@
static void handle_trace_discard(struct thread_data *td,
td->o.size += t->bytes;
- memset(ipo, 0, sizeof(*ipo));
INIT_FLIST_HEAD(&ipo->list);
ipo->offset = t->sector * bs;