X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=rate-submit.c;h=2f02fe2ba8365dea762051e555b1f28651ee45e3;hb=21f277b89029e7729d2dc631572244361ea7718c;hp=5c77a4e8ecb83089ad2fb6a0322aafcbcab2bc4c;hpb=f31feaa21642929b6d9d5396b73669372fda9a0a;p=fio.git diff --git a/rate-submit.c b/rate-submit.c index 5c77a4e8..2f02fe2b 100644 --- a/rate-submit.c +++ b/rate-submit.c @@ -126,7 +126,7 @@ static int io_workqueue_init_worker_fn(struct submit_worker *sw) clear_io_state(td, 1); td_set_runstate(td, TD_RUNNING); - td->flags |= TD_F_CHILD; + td->flags |= TD_F_CHILD | TD_F_NEED_LOCK; td->parent = parent; return 0;