projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b638d82
)
workqueue: Ensure submission offload worker inherits parent's options
author
Andrey Kuzmin
<andrey.v.kuzmin@gmail.com>
Tue, 8 Sep 2015 15:10:55 +0000
(09:10 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 8 Sep 2015 15:10:55 +0000
(09:10 -0600)
Properly initialize sibling's eo, as otherwise it will miss parent's
options.
Signed-off-by: Jens Axboe <axboe@fb.com>
workqueue.c
patch
|
blob
|
blame
|
history
diff --git
a/workqueue.c
b/workqueue.c
index e2365167a9b52d3f429da56c8cd26d377122d362..60e6ab2843f074742789d730ff5cde8410d4bc0c 100644
(file)
--- a/
workqueue.c
+++ b/
workqueue.c
@@
-162,6
+162,7
@@
static int init_submit_worker(struct submit_worker *sw)
memcpy(&td->ts, &parent->ts, sizeof(td->ts));
td->o.uid = td->o.gid = -1U;
dup_files(td, parent);
+ td->eo = parent->eo;
fio_options_mem_dupe(td);
if (ioengine_load(td))