Skip to content
Commit 3aa72873 authored by Jens Axboe's avatar Jens Axboe
Browse files

elevator: check for ELEVATOR_INSERT_SORT_MERGE in !elvpriv case too



The sort insert is the one that goes to the IO scheduler. With
the SORT_MERGE addition, we could bypass IO scheduler setup
but still ask the IO scheduler to insert the request. This would
cause an oops on switching IO schedulers through the sysfs
interface, unless the disk just happened to be idle while it
occured.

Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 584f7904
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment