projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
3928102
)
Merge branch 'offload-flags-fix' of https://github.com/vincentkfu/fio
author
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Sep 2018 14:25:57 +0000
(08:25 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 11 Sep 2018 14:25:57 +0000
(08:25 -0600)
* 'offload-flags-fix' of https://github.com/vincentkfu/fio:
rate_submit: synchronize accesses to io_u_queue->nr
rate-submit.c
patch
|
blob
|
blame
|
history
diff --git
a/rate-submit.c
b/rate-submit.c
index 5c77a4e8ecb83089ad2fb6a0322aafcbcab2bc4c..2f02fe2ba8365dea762051e555b1f28651ee45e3 100644
(file)
--- a/
rate-submit.c
+++ b/
rate-submit.c
@@
-126,7
+126,7
@@
static int io_workqueue_init_worker_fn(struct submit_worker *sw)
clear_io_state(td, 1);
td_set_runstate(td, TD_RUNNING);
- td->flags |= TD_F_CHILD;
+ td->flags |= TD_F_CHILD
| TD_F_NEED_LOCK
;
td->parent = parent;
return 0;