Flexible I/O Tester development
 help / color / mirror / Atom feed
* Ensure submission offload worker inherits parent's options
@ 2015-09-07 15:11 Andrey Kuzmin
  2015-09-08 15:11 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Kuzmin @ 2015-09-07 15:11 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio@vger.kernel.org

Seems to be broken otherwise.

Regards,
Andrey

    Properly initialize sibling's eo, as otherwise it will miss parent's
    options.

diff --git a/workqueue.c b/workqueue.c
index 0a6cd20..f481027 100644
--- a/workqueue.c
+++ b/workqueue.c
@@ -161,6 +161,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))


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Ensure submission offload worker inherits parent's options
  2015-09-07 15:11 Ensure submission offload worker inherits parent's options Andrey Kuzmin
@ 2015-09-08 15:11 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2015-09-08 15:11 UTC (permalink / raw)
  To: Andrey Kuzmin; +Cc: fio@vger.kernel.org

On 09/07/2015 09:11 AM, Andrey Kuzmin wrote:
> Seems to be broken otherwise.
>
> Regards,
> Andrey
>
>      Properly initialize sibling's eo, as otherwise it will miss parent's
>      options.

Thanks, applied.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-08 15:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-07 15:11 Ensure submission offload worker inherits parent's options Andrey Kuzmin
2015-09-08 15:11 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox