Hi, The 1st patch fixes allocation for queue mapping table. The 2nd patch exports hctx->type in debugfs, so that we can write debugfs based test for verifying if queue mapping is valid. The 3rd patch fixes dispatch from sw queue when there is either write queue or poll queue. V3: - drop the original 2nd patch, which can be done by hch's two patches - add changelog on patch3 V2: - remove hctx->type export from sysfs - take hch's patch to fix shared queue mapping - add the patch 3 Ming Lei (3): blk-mq: fix allocation for queue mapping table blk-mq: export hctx->type in debugfs instead of sysfs blk-mq: fix dispatch from sw queue block/blk-mq-debugfs.c | 85 ++++++++++++++++++++++++++++++++------------------ block/blk-mq-sched.c | 23 +++++++++----- block/blk-mq-sysfs.c | 17 ---------- block/blk-mq.c | 54 +++++++++++++++++++------------- block/blk-mq.h | 10 +++--- 5 files changed, 108 insertions(+), 81 deletions(-) Cc: Christoph Hellwig <hch@xxxxxx> -- 2.9.5