]> git.baikalelectronics.ru Git - kernel.git/commit
blk-mq: Restart a single queue if tag sets are shared
authorBart Van Assche <bart.vanassche@sandisk.com>
Fri, 7 Apr 2017 18:40:09 +0000 (12:40 -0600)
committerJens Axboe <axboe@fb.com>
Fri, 7 Apr 2017 18:40:09 +0000 (12:40 -0600)
commit050b72ceb97452cad8cb43faaa9f4da6723853b8
tree9400809275952c263a8512447cf625b3c490fa61
parentd95924bd38f95c9adec45e74bfcd6175b9f9b490
blk-mq: Restart a single queue if tag sets are shared

To improve scalability, if hardware queues are shared, restart
a single hardware queue in round-robin fashion. Rename
blk_mq_sched_restart_queues() to reflect the new semantics.
Remove blk_mq_sched_mark_restart_queue() because this function
has no callers. Remove flag QUEUE_FLAG_RESTART because this
patch removes the code that uses this flag.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Hannes Reinecke <hare@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/blk-mq-sched.c
block/blk-mq-sched.h
block/blk-mq.c
include/linux/blkdev.h