On Wed, Jun 08, 2016 at 03:47:10PM -0700, Ming Lin wrote: > On Wed, Jun 8, 2016 at 3:25 PM, Keith Busch <keith.busch@xxxxxxxxx> wrote: > > I've been trying to change blk_mq_update_queue_map to do this, but it's > > not as easy as it sounds. The following is the simplest patch I came > > up with that gets a better mapping *most* of the time. > > Not working for my case with 6 hw queues(8 cpus): > > [ 108.318247] nvme nvme0: 6 hw queues created, but only 5 were mapped > to sw queues > > hctx_idx 0: 0 1 4 5 > hctx_idx 1: None > hctx_idx 2: 2 > hctx_idx 3: 3 > hctx_idx 4: 6 > hctx_idx 5: 7 Heh, not one of the good cases I see. I don't think there's a simple change to use all contexts. Might need a larger rewrite. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html