This two patches improves computation of default queue depth of
scheduler queue by using q->queue_depth.


Ming Lei (2):
  blk-mq-sched: introduce blk_mq_sched_queue_depth()
  blk-mq-sched: use q->queue_depth as hint for q->nr_requests

 block/blk-mq-sched.c |  8 +-------
 block/blk-mq-sched.h | 23 +++++++++++++++++++++++
 block/blk-mq.c       | 27 +++++++++++++++++++++++++--
 block/blk-mq.h       |  1 +
 block/blk-settings.c |  2 ++
 5 files changed, 52 insertions(+), 9 deletions(-)

-- 
2.9.4

Reply via email to