]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/srp: Fix reconnection failure handling
authorBart Van Assche <bart.vanassche@sandisk.com>
Mon, 18 May 2015 11:24:17 +0000 (13:24 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 18 May 2015 17:35:55 +0000 (13:35 -0400)
commita44074f14ba1ea0747ea737026eb929b81993dc3
tree21b3c79fdde76da6a313d2db265dfd84f163d48b
parentc014c8cd31b161e12deb81c0f7f477811bd1eddc
IB/srp: Fix reconnection failure handling

Although it is possible to let SRP I/O continue if a reconnect
results in a reduction of the number of channels, the current
code does not handle this scenario correctly. Instead of making
the reconnect code more complex, consider this as a reconnection
failure.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Sagi Grimberg <sagig@mellanox.com>
Cc: Sebastian Parschauer <sebastian.riemer@profitbricks.com>
Cc: <stable@vger.kernel.org> #v3.19
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c