Ensure submission offload worker inherits parent's options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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))
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux