mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Remove blk_mq_sched_started_request function
@ 2019-07-23  2:14 Marcos Paulo de Souza
  2019-07-23  2:14 ` [PATCH 1/2] block: blk-mq: " Marcos Paulo de Souza
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Marcos Paulo de Souza @ 2019-07-23  2:14 UTC (permalink / raw)
  To: linux-kernel, linux-block, axboe, hare; +Cc: Marcos Paulo de Souza

While inspecting the queue_rq calling sites, I verified that
blk_mq_start_request calls blk_mq_sched_started_request, and this function
checks if the elevator of the current request implements the started_request,
but currently none of the available IO schedulers do.

So, let's remove blk_mq_sched_started_request along with started_request, which
is member of the elevator_mq_ops struct.

Marcos Paulo de Souza (2):
  block: blk-mq: Remove blk_mq_sched_started_request function
  include: elevator.h: Remove started_request from elevator_mq_ops

 block/blk-mq-sched.h     | 9 ---------
 block/blk-mq.c           | 2 --
 include/linux/elevator.h | 1 -
 3 files changed, 12 deletions(-)

-- 
2.22.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-23  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-23  2:14 [PATCH 0/2] Remove blk_mq_sched_started_request function Marcos Paulo de Souza
2019-07-23  2:14 ` [PATCH 1/2] block: blk-mq: " Marcos Paulo de Souza
2019-07-23  2:14 ` [PATCH 2/2] include: elevator.h: Remove started_request from elevator_mq_ops Marcos Paulo de Souza
2019-07-23  2:17 ` [PATCH 0/2] Remove blk_mq_sched_started_request function Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®