• Jens Axboe's avatar
    elevator: remove redundant warnings on IO scheduler switch · 340ff321
    Jens Axboe authored
    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: default avatarJens Axboe <axboe@fb.com>
    340ff321
elevator.c 26.6 KB