commit | 225ba9e3433cf27d8ff7b213d9f78b7ef2776c70 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@fb.com> | Wed Feb 26 14:31:15 2014 -0800 |
committer | Jens Axboe <axboe@fb.com> | Wed Feb 26 14:31:15 2014 -0800 |
tree | 42aa9c5b489de9ced5c4b6fc9ff8fbb1ff805e7b | |
parent | 5903e7b7907854014478b6febfc5645a203ff59e [diff] [blame] |
Branch and cache miss speedups Just some low hanging fruit. Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/io_u.c b/io_u.c index a69efb7..77557df 100644 --- a/io_u.c +++ b/io_u.c
@@ -1307,9 +1307,9 @@ 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; }