linux/drivers/infiniband
Sagi Grimberg 0350f8a1be iser-target: Fix implicit termination of connections
commit b02efbfc9a upstream.

In situations such as bond failover, The new session establishment
implicitly invokes the termination of the old connection.

So, we don't want to wait for the old connection wait_conn to completely
terminate before we accept the new connection and post a login response.

The solution is to deffer the comp_wait completion and the conn_put to
a work so wait_conn will effectively be non-blocking (flush errors are
assumed to come very fast).

We allocate isert_release_wq with WQ_UNBOUND and WQ_UNBOUND_MAX_ACTIVE
to spread the concurrency of release works.

Reported-by: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-27 08:18:59 -08:00
..
core IB/core: Clear AH attr variable to prevent garbage data 2014-11-21 09:23:04 -08:00
hw IB/mlx4: Don't duplicate the default RoCE GID 2014-10-05 14:52:22 -07:00
ulp iser-target: Fix implicit termination of connections 2015-01-27 08:18:59 -08:00
Kconfig Merge branch 'ip-roce' into for-next 2014-01-22 23:24:21 -08:00
Makefile IB/usnic: Add Cisco VIC low-level hardware driver 2014-01-14 00:44:28 -08:00