rate-submit: call ioengine post_init when starting workers
authorVincent Fu <vincent.fu@wdc.com>
Thu, 24 Jan 2019 19:26:42 +0000 (14:26 -0500)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Jan 2019 20:58:00 +0000 (13:58 -0700)
commit4c085cf20f5c0d083aca18680c4323a1fb2b7a1f
tree0c23c7e82eb99a4e6283ca042f64ccd91bee0e54
parent63ed82548f4489b4c6d5df688f7405b9eb20ddc9
rate-submit: call ioengine post_init when starting workers

ioengines with post_init steps were not fully fully initialized by
offload worker threads because the post_init function was never called.

Without this patch all libaio operations submitted in offload mode fail
because the ioengine was not fully initialized.

Fixes: 2041bd343da1 ("engines/libaio: add preliminary support for pre-mapped IO buffers")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
rate-submit.c