mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Max Gurtovoy <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
40b24403f3
commit
24c5dc6610
4 changed files with 68 additions and 0 deletions
|
|
@ -206,4 +206,9 @@ config BLK_MQ_VIRTIO
|
|||
depends on BLOCK && VIRTIO
|
||||
default y
|
||||
|
||||
config BLK_MQ_RDMA
|
||||
bool
|
||||
depends on BLOCK && INFINIBAND
|
||||
default y
|
||||
|
||||
source block/Kconfig.iosched
|
||||
|
|
|
|||
Loading…
Reference in a new issue