block: Add rdma affinity based queue mapping helper
authorSagi Grimberg <sagi@grimberg.me>
Thu, 13 Jul 2017 08:09:43 +0000 (11:09 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 8 Aug 2017 18:58:03 +0000 (14:58 -0400)
commit24c5dc6610e8a3764fcb885cc3284c12ff1513de
tree4e63a3a4d5cff3d270598feb0d617c146ae20a41
parent40b24403f33ed8e9401b087e25f46d002fc8f396
block: Add rdma affinity based queue mapping helper

Like pci and virtio, we add a rdma helper for affinity
spreading. This achieves optimal mq affinity assignments
according to the underlying rdma device affinity maps.

Reviewed-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
block/Kconfig
block/Makefile
block/blk-mq-rdma.c [new file with mode: 0644]
include/linux/blk-mq-rdma.h [new file with mode: 0644]