commit | 59f082e464ae0533813d5a1c3149b22563da93d7 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@fb.com> | Wed Feb 01 09:53:14 2017 -0800 |
committer | Jens Axboe <axboe@fb.com> | Thu Mar 02 08:56:04 2017 -0700 |
tree | a77cee5b021bf86029847ef2696c30589086a640 | |
parent | 4977ab6e92e267afe9d8f78438c3db330ca8434c [diff] |
blk-mq: allocate blk_mq_tags and requests in correct node 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 <shli@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@fb.com>