summaryrefslogtreecommitdiff
path: root/io_u.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-02-26 14:31:15 -0800
committerJens Axboe <axboe@fb.com>2014-02-26 14:31:15 -0800
commit225ba9e3433cf27d8ff7b213d9f78b7ef2776c70 (patch)
tree42aa9c5b489de9ced5c4b6fc9ff8fbb1ff805e7b /io_u.c
parent5903e7b7907854014478b6febfc5645a203ff59e (diff)
downloadfio-225ba9e3433cf27d8ff7b213d9f78b7ef2776c70.tar.gz
Branch and cache miss speedups
Just some low hanging fruit. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'io_u.c')
-rw-r--r--io_u.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_u.c b/io_u.c
index a69efb76..77557dfd 100644
--- a/io_u.c
+++ b/io_u.c
@@ -1307,9 +1307,9 @@ again:
else if (!queue_full(td)) {
io_u = io_u_qpop(&td->io_u_freelist);
+ io_u->file = NULL;
io_u->buflen = 0;
io_u->resid = 0;
- io_u->file = NULL;
io_u->end_io = NULL;
}