backend: clarify io scheduler setting error message
authorVincent Fu <vincent.fu@samsung.com>
Wed, 4 Aug 2021 18:29:04 +0000 (18:29 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Aug 2021 18:49:56 +0000 (12:49 -0600)
commitda44720c9f8a138cf5351b0ebdd2ec74a80410f8
tree9e635239ea010f621a045ff208537d25d548fd39
parentcb765e413e4d124355c3eec47f7ac8cd314a6951
backend: clarify io scheduler setting error message

If you know *how* fio tries to confirm that the IO scheduler was
successfully set, then the error message "io scheduler not found" makes
sense. However, if you don't know what fio does to confirm the io
scheduler setting, then the error message is confusing. This patch
modifies the error message to indicate that the selected IO scheduler
could not be set.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c