projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82ea3d
)
io_u: don't use xfer_buflen before we have set it up
author
Jens Axboe
<axboe@fb.com>
Mon, 30 Nov 2015 21:28:54 +0000
(14:28 -0700)
committer
Jens Axboe
<axboe@fb.com>
Mon, 30 Nov 2015 21:28:54 +0000
(14:28 -0700)
Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index dd4502f1cfccb7c532480bd45fc13785578f9912..3b27d5ed7bbab2bdd0e6b49c0071d1709b4559dc 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1527,7
+1527,7
@@
struct io_u *get_io_u(struct thread_data *td)
if (td->flags & TD_F_REFILL_BUFFERS) {
io_u_fill_buffer(td, io_u,
td->o.min_bs[DDIR_WRITE],
- io_u->
xfer_
buflen);
+ io_u->buflen);
} else if ((td->flags & TD_F_SCRAMBLE_BUFFERS) &&
!(td->flags & TD_F_COMPRESS))
do_scramble = 1;