Skip to content

Commit a1ce35f

Browse files
committed
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>
1 parent f382fb0 commit a1ce35f

17 files changed

Lines changed: 75 additions & 2440 deletions

block/bfq-iosched.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5745,7 +5745,6 @@ static struct elevator_type iosched_bfq_mq = {
57455745
.exit_sched = bfq_exit_queue,
57465746
},
57475747

5748-
.uses_mq = true,
57495748
.icq_size = sizeof(struct bfq_io_cq),
57505749
.icq_align = __alignof__(struct bfq_io_cq),
57515750
.elevator_attrs = bfq_attrs,

0 commit comments

Comments
 (0)