summaryrefslogtreecommitdiff
path: root/include/linux/task_work.h
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-12-02 16:57:29 +0200
committerLuis Henriques <luis.henriques@canonical.com>2015-01-15 10:44:28 +0000
commit63dff7ee67dde7855a07a18a0ec97aa721ebf4fa (patch)
tree5e738822afe18c1421be1f7989ccb90d280aee4b /include/linux/task_work.h
parent868d84f1cc67faa05d7899f86c5cf14cfd0646c1 (diff)
iser-target: Fix implicit termination of connections
commit b02efbfc9a051b41e71fe8f94ddf967260e024a6 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: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/task_work.h')
0 files changed, 0 insertions, 0 deletions