From: Omar Sandoval <osandov@xxxxxx> This v2 of my series from a couple of days ago [1] with one extra fix and two extra cleanups. - Patch 1 is the new fix for a hang that Josef reported after trying v1. - Patches 2-6 are the original series. Patch 5 now has Christoph's and Sagi's Reviewed-by. - Patches 7 and 8 are trivial cleanups. Patches 1-5 should probably go into 4.11, and 6-8 are for 4.12. 1: http://marc.info/?l=linux-block&m=149125578724683&w=2 Omar Sandoval (8): blk-mq: use the right hctx when getting a driver tag fails blk-mq-sched: refactor scheduler initialization blk-mq-sched: set up scheduler tags when bringing up new queues blk-mq-sched: fix crash in switch error path blk-mq: remap queues when adding/removing hardware queues blk-mq-sched: provide hooks for initializing hardware queue data blk-mq: make driver tag failure path easier to follow blk-mq: clean up direct issue blk_mq_queue_data initialization block/blk-mq-sched.c | 187 +++++++++++++++++++++++++++++------------------ block/blk-mq-sched.h | 13 ++-- block/blk-mq.c | 72 ++++++++++-------- block/blk-mq.h | 2 +- block/blk-sysfs.c | 2 +- block/elevator.c | 114 +++++++++++++++-------------- include/linux/elevator.h | 4 +- 7 files changed, 227 insertions(+), 167 deletions(-) -- 2.12.2