aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2018-03-13 17:42:42 +0800
committerMartin K. Petersen <[email protected]>2018-03-14 23:31:13 -0400
commitb5b6e8c8d3b4cbeb447a0f10c7d5de3caa573299 (patch)
tree50a246c6410e50d21c359d84b328b722860627d2 /lib/test-string_helpers.c
parent2f31115e940c4afd49b99c33123534e2ac924ffb (diff)
scsi: virtio_scsi: fix IO hang caused by automatic irq vector affinity
Since commit 84676c1f21e8ff5 ("genirq/affinity: assign vectors to all possible CPUs") it is possible to end up in a scenario where only offline CPUs are mapped to an interrupt vector. This is only an issue for the legacy I/O path since with blk-mq/scsi-mq an I/O can't be submitted to a hardware queue if the queue isn't mapped to an online CPU. Fix this issue by forcing virtio-scsi to use blk-mq. [mkp: commit desc] Cc: Omar Sandoval <[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: Paolo Bonzini <[email protected]> Cc: Mike Snitzer <[email protected]> Cc: Laurence Oberman <[email protected]> Fixes: 84676c1f21e8 ("genirq/affinity: assign vectors to all possible CPUs") Signed-off-by: Ming Lei <[email protected]> Reviewed-by: Hannes Reinecke <[email protected]> Acked-by: Paolo Bonzini <[email protected]> Reviewed-by: Christoph Hellwig <[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