projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
29407f1
)
Revert "Scramble IO buffers unless explicitly told not"
author
Jens Axboe
<axboe@fb.com>
Wed, 18 Mar 2015 16:31:49 +0000
(10:31 -0600)
committer
Jens Axboe
<axboe@fb.com>
Wed, 18 Mar 2015 16:31:49 +0000
(10:31 -0600)
This reverts commit
7d1bb70f3d85d041b4b7dd926e98054fea980bdc
.
io_u.c
patch
|
blob
|
blame
|
history
diff --git
a/io_u.c
b/io_u.c
index a45dd4021c4e161f945367a3aec59dde0ebd4c57..975d2424b2c377c39b331865df7bf8e1c5060a4b 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-1484,8
+1484,7
@@
struct io_u *get_io_u(struct thread_data *td)
io_u_fill_buffer(td, io_u,
td->o.min_bs[DDIR_WRITE],
io_u->xfer_buflen);
io_u_fill_buffer(td, io_u,
td->o.min_bs[DDIR_WRITE],
io_u->xfer_buflen);
- }
- if ((td->flags & TD_F_SCRAMBLE_BUFFERS) &&
+ } else if ((td->flags & TD_F_SCRAMBLE_BUFFERS) &&
!(td->flags & TD_F_COMPRESS))
do_scramble = 1;
if (td->flags & TD_F_VER_NONE) {
!(td->flags & TD_F_COMPRESS))
do_scramble = 1;
if (td->flags & TD_F_VER_NONE) {