projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libmtd: ->name and ->type_str can't be constant
[fio.git]
/
init.c
diff --git
a/init.c
b/init.c
index a126f79f1b9c1a4b20bd388f71013d35179e2b86..1a5d4c9ed0919648f6f5c79c009c599b4f3386a6 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-956,6
+956,9
@@
static void init_flags(struct thread_data *td)
td->flags |= TD_F_SCRAMBLE_BUFFERS;
if (o->verify != VERIFY_NONE)
td->flags |= TD_F_VER_NONE;
td->flags |= TD_F_SCRAMBLE_BUFFERS;
if (o->verify != VERIFY_NONE)
td->flags |= TD_F_VER_NONE;
+
+ if (o->verify_async || o->io_submit_mode == IO_MODE_OFFLOAD)
+ td->flags |= TD_F_NEED_LOCK;
}
static int setup_random_seeds(struct thread_data *td)
}
static int setup_random_seeds(struct thread_data *td)