]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove dead elevator code
authorJens Axboe <axboe@kernel.dk>
Mon, 29 Oct 2018 16:23:51 +0000 (10:23 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 7 Nov 2018 20:42:32 +0000 (13:42 -0700)
commitb6b8869993195b2ee3ef5208336bba86807304ab
tree7a0bb9576a3f0e31e22f849463eee6cdda26bad5
parentd9d6e5000d50ba022532bf305ee77fe9b3653f1d
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>
17 files changed:
block/bfq-iosched.c
block/blk-core.c
block/blk-exec.c
block/blk-ioc.c
block/blk-merge.c
block/blk-settings.c
block/blk-sysfs.c
block/blk.h
block/elevator.c
block/kyber-iosched.c
block/mq-deadline.c
include/linux/blkdev.h
include/linux/elevator.h
include/linux/init.h
init/do_mounts_initrd.c
init/initramfs.c
init/main.c