From 736a50cd7d04e510d0a104316a6b4a3a5bcc43f6 Mon Sep 17 00:00:00 2001 From: Andrey Kuzmin Date: Tue, 8 Sep 2015 09:10:55 -0600 Subject: [PATCH] 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 --- workqueue.c | 1 + 1 file changed, 1 insertion(+) 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)) -- 2.25.1