summaryrefslogtreecommitdiff
path: root/block/deadline-iosched.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-02-19 09:20:37 (GMT)
committerJens Axboe <jens.axboe@oracle.com>2008-02-19 09:20:37 (GMT)
commite164094964e6e20fe7fce418e06a9dce952bb7a4 (patch)
tree99ff5c6dbf5bccad8a1172bc0fb5a5f4a079bae3 /block/deadline-iosched.c
parentffc4e7595734cf768fa60cea8a4d545dfef8231a (diff)
downloadlinux-e164094964e6e20fe7fce418e06a9dce952bb7a4.tar.xz
elevator: make elevator_get() attempt to load the appropriate module
Currently we fail if someone requests a valid io scheduler, but it's modular and not currently loaded. That can happen from a driver init asking for a different scheduler, or online switching through sysfs as requested by a user. This patch makes elevator_get() request_module() to attempt to load the appropriate module, instead of requiring that done manually. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/deadline-iosched.c')
0 files changed, 0 insertions, 0 deletions