]> git.baikalelectronics.ru Git - kernel.git/commit
elevator: remove redundant warnings on IO scheduler switch
authorJens Axboe <axboe@fb.com>
Wed, 10 May 2017 13:40:04 +0000 (07:40 -0600)
committerJens Axboe <axboe@fb.com>
Wed, 10 May 2017 13:40:04 +0000 (07:40 -0600)
commitddf84409e217579224085200173b584532c7fff5
treea9404a8b344d77c1425e4a4230c1dbebf3c96ba5
parentf29a2164150f2d2f81e5d62a58783d56febe05f2
elevator: remove redundant warnings on IO scheduler switch

We warn twice for switching to a scheduler, if that switch fails.
As we also report the failure in the return value to the
sysfs write, remove the dmesg induced failures.

Keep the failure print for warning to switch to the kconfig
selected IO scheduler, as we can't report errors for that in
any other way.

Signed-off-by: Jens Axboe <axboe@fb.com>
block/elevator.c