On Fri, Feb 03, 2017 at 11:35:58AM -0800, Omar Sandoval wrote: > From: Omar Sandoval <osandov@xxxxxx> > > In blk_mq_sched_dispatch_requests(), we call blk_mq_sched_mark_restart() > after we dispatch requests left over on our hardware queue dispatch > list. This is so we'll go back and dispatch requests from the scheduler. > In this case, it's only necessary to restart the hardware queue that we > are running; there's no reason to run other hardware queues just because > we are using shared tags. > > So, split out blk_mq_sched_mark_restart() into two operations: the "all" > variant is for when we really need to mark the request queue as needing > a restart, and we'll keep the original for just the hardware queue. > > Signed-off-by: Omar Sandoval <osandov@xxxxxx> > --- > Based on block/for-next. There might be a better name for this. > > block/blk-mq-sched.h | 15 +++++++++++++++ > block/blk-mq.c | 2 +- > 2 files changed, 16 insertions(+), 1 deletion(-) Actually, I think I want to do this slightly differently, ignore this for now.