aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2018-03-13 17:42:40 +0800
committerMartin K. Petersen <[email protected]>2018-03-14 23:31:13 -0400
commitadbe552349f2d1e48357a00e564d26135e586634 (patch)
tree2ee8192ceab0907d10c173f3b7a4bcd0d36febb9 /lib/test-string_helpers.c
parent8b834bff1b73dce46f4e9f5e84af6f73fed8b0ef (diff)
scsi: megaraid_sas: fix selection of reply queue
Since commit 84676c1f21e8 ("genirq/affinity: assign vectors to all possible CPUs") we could end up with an MSI-X vector that did not have any online CPUs mapped. This would lead to I/O hangs since there was no CPU to receive the completion. Retrieve IRQ affinity information using pci_irq_get_affinity() and use this mapping to choose a reply queue. [mkp: tweaked commit desc] Cc: Hannes Reinecke <[email protected]> Cc: "Martin K. Petersen" <[email protected]>, Cc: James Bottomley <[email protected]>, Cc: Christoph Hellwig <[email protected]>, Cc: Don Brace <[email protected]> Cc: Kashyap Desai <[email protected]> Cc: Laurence Oberman <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Meelis Roos <[email protected]> Cc: Artem Bityutskiy <[email protected]> Fixes: 84676c1f21e8 ("genirq/affinity: assign vectors to all possible CPUs") Signed-off-by: Ming Lei <[email protected]> Acked-by: Kashyap Desai <[email protected]> Tested-by: Kashyap Desai <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Tested-by: Artem Bityutskiy <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions