]> git.baikalelectronics.ru Git - kernel.git/commit
target/tcm_fc: use CPU affinity for responses
authorHannes Reinecke <hare@suse.de>
Mon, 22 Aug 2016 08:54:11 +0000 (10:54 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 21 Oct 2016 08:19:44 +0000 (01:19 -0700)
commit963ce7e4a749a72596edaae0fe186619eee5376f
tree4ab5c556a6f8025eadacef59cb48c03c123e93e7
parent5d9ae876af4132fba4db2c28b973bc8f5866eff6
target/tcm_fc: use CPU affinity for responses

The libfc stack assigns exchange IDs based on the CPU the request
was received on, so we need to send the responses via the same CPU.
Otherwise the send logic gets confuses and responses will be delayed,
causing exchange timeouts on the initiator side.

Signed-off-by: Hannes Reinecke <hare@suse.com>
Cc: stable@vger.kernel.org # 4.5+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_cmd.c