Re: [PATCH 1/2] blk-mq: allocate blk_mq_tags and requests in correct node

2017-02-01 Thread Christoph Hellwig
Hi Shaohua, the code your patching has changed a lot in Jens' tree, so I think you'll have to respin it. But the idea looks fine. -- To unsubscribe from this list: send the line "unsubscribe linux-block" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ker

[PATCH 1/2] blk-mq: allocate blk_mq_tags and requests in correct node

2017-01-31 Thread Shaohua Li
blk_mq_tags/requests of specific hardware queue are mostly used in specific cpus, which might not be in the same numa node as disk. For example, a nvme card is in node 0. half hardware queue will be used by node 0, the other node 1. Signed-off-by: Shaohua Li --- block/blk-mq.c | 14 +