]> 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)
commit7460e3914b358db824ab2daba7795a6009bb25b4
treea9404a8b344d77c1425e4a4230c1dbebf3c96ba5
parent7c2394e1a1e562f149dd94ba45c8fd6c9cf63a1f
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