diff options
author | Jens Axboe <axboe@kernel.dk> | 2018-10-29 17:23:51 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-07 21:42:32 +0100 |
commit | a1ce35fa49852db60fc6e268038530be533c5b15 (patch) | |
tree | 7a0bb9576a3f0e31e22f849463eee6cdda26bad5 /init/initramfs.c | |
parent | block: remove legacy IO schedulers (diff) | |
download | linux-a1ce35fa49852db60fc6e268038530be533c5b15.tar.xz linux-a1ce35fa49852db60fc6e268038530be533c5b15.zip |
block: remove dead elevator code
This removes a bunch of core and elevator related code. On the core
front, we remove anything related to queue running, draining,
initialization, plugging, and congestions. We also kill anything
related to request allocation, merging, retrieval, and completion.
Remove any checking for single queue IO schedulers, as they no
longer exist. This means we can also delete a bunch of code related
to request issue, adding, completion, etc - and all the SQ related
ops and helpers.
Also kill the load_default_modules(), as all that did was provide
for a way to load the default single queue elevator.
Tested-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'init/initramfs.c')
-rw-r--r-- | init/initramfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/init/initramfs.c b/init/initramfs.c index 640557788026..96af18fec4d0 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -644,12 +644,6 @@ static int __init populate_rootfs(void) #endif } flush_delayed_fput(); - /* - * Try loading default modules from initramfs. This gives - * us a chance to load before device_initcalls. - */ - load_default_modules(); - return 0; } rootfs_initcall(populate_rootfs); |