Hi, The 1st patch fixes allocation for queue mapping table. The 2nd patch fixes shared queue mapping, which may cause IO hang in case that both write_queues and poll_queues are zero. The 3rd patch fixes dispatch from sw queue when there is either write queue or poll queue. The 4th patch exports hctx->type in debugfs, so that we can write debugfs based test for verifying if queue mapping is valid. V2: - remove hctx->type export from sysfs - take hch's patch to fix shared queue mapping - add the patch 3 Christoph Hellwig (1): blk-mq: fix shared queue mapping Ming Lei (3): blk-mq: fix allocation for queue mapping table blk-mq: fix dispatch from sw queue blk-mq: export hctx->type in debugfs instead of sysfs block/blk-mq-debugfs.c | 85 ++++++++++++++++++++++++++++++++----------------- block/blk-mq-sched.c | 23 ++++++++----- block/blk-mq-sysfs.c | 17 ---------- block/blk-mq.c | 57 ++++++++++++++++++++------------- block/blk-mq.h | 21 +++++++----- drivers/nvme/host/pci.c | 6 +--- 6 files changed, 119 insertions(+), 90 deletions(-) -- 2.9.5