block: Warn if elevator= parameter is used
commitf8db383507d658c5a729b062c97710efda876cd4
authorJan Kara <jack@suse.cz>
Wed, 6 Nov 2019 10:48:57 +0000 (6 11:48 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 6 Nov 2019 14:16:07 +0000 (6 07:16 -0700)
tree20879e9cbe8419ddb48704af106dd290a2f27071
parentfa53228721876515adabc7bc74368490bd97aa3b
block: Warn if elevator= parameter is used

With transition to blk-mq, the elevator= kernel argument was removed as
it makes less and less sense with the current variety of devices.  Since
this may surprise some users and there are advices on the Internet that
still suggest to use it, let's at least warn if the parameter is used.

Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/elevator.c