[PATCH 0/2] blk-mq-sched: use q->queue_depth as hint for q->nr_requests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux