]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2015 17:10:05 +0000 (10:10 -0700)
commitb14524edc36d494d75c760743cc9435ef4c12a2f
tree13081d05fe69267e67b2186027efaebf361cc428
parentc1ab680046ba170050e91ec49577699de1a24e1a
IB/srp: Fix reconnection failure handling

commit a44074f14ba1ea0747ea737026eb929b81993dc3 upstream.

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>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/ulp/srp/ib_srp.c