time: ensure that offload mode switches parent out of ramp
authorJens Axboe <axboe@kernel.dk>
Wed, 13 Sep 2017 15:03:20 +0000 (09:03 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 Sep 2017 15:03:20 +0000 (09:03 -0600)
commit3eeb162085b43311546e395039c19664ea781b0f
treed16abe80fe06600f9333f33f35f05fdf6881a57b
parent956e60eade2bddb8aadfb54b58030e0b88fd03b2
time: ensure that offload mode switches parent out of ramp

If we have worker threads submitting IO for the jobs AND using
ramp time, then we need to ensure that the parent job is switched out of
ramp mode. This normally happens as part of IO submission, but since
we have worker threads doing that for us, it never happens for the
parent.

Fixes: https://github.com/axboe/fio/issues/459
Signed-off-by: Jens Axboe <axboe@kernel.dk>
time.c