init: return error incase an invalid value is passed as option
authorAnuj Gupta <anuj20.g@samsung.com>
Tue, 31 May 2022 13:31:49 +0000 (19:01 +0530)
committerJens Axboe <axboe@kernel.dk>
Thu, 2 Jun 2022 08:19:41 +0000 (02:19 -0600)
commitf43aab595c1b8832d5f2641606f5bd5a7cdd22ea
treef9e79d540a243332ad3c6722eb9a85c5fcfdfe88
parent76a490bb98dcfe03be9b4453b8fe401cc2a77f7f
init: return error incase an invalid value is passed as option

Currently, fio exits incase an invalid value is passed as fio
option, but continues even if an invalid value is passed for
I/O engine specific options. Exit in that scenario.

Signed-off-by: Anuj Gupta <anuj20.g@samsung.com>
Link: https://lore.kernel.org/r/20220531133155.17493-4-ankit.kumar@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
init.c