diff options
author | Jens Axboe <jaxboe@fusionio.com> | 2011-04-21 19:28:35 +0200 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-04-21 19:28:35 +0200 |
commit | 3aa72873ffdcc2f7919743efbbefc351ec73f5cb (patch) | |
tree | f159c777a489c6ac3721ba1f1cadbe2d86b19fa5 /block/genhd.c | |
parent | Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | linux-3aa72873ffdcc2f7919743efbbefc351ec73f5cb.tar.xz linux-3aa72873ffdcc2f7919743efbbefc351ec73f5cb.zip |
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: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions