From: Andrey Kuzmin Date: Tue, 8 Sep 2015 15:10:55 +0000 (-0600) Subject: workqueue: Ensure submission offload worker inherits parent's options X-Git-Tag: fio-2.2.10~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=736a50cd7d04e510d0a104316a6b4a3a5bcc43f6;p=fio.git workqueue: Ensure submission offload worker inherits parent's options Properly initialize sibling's eo, as otherwise it will miss parent's options. Signed-off-by: Jens Axboe --- diff --git a/workqueue.c b/workqueue.c index e2365167..60e6ab28 100644 --- 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))