diff options
author | 2014-04-29 13:13:47 +0300 | |
---|---|---|
committer | 2014-05-15 17:09:11 -0700 | |
commit | 14f4b54fe38f3a8f8392a50b951c8aa43b63687a (patch) | |
tree | 7aa8efa8e5b927d58803bf896843388320666c1c /tools/perf/scripts/python/syscall-counts.py | |
parent | Target/iser: Fix iscsit_accept_np and rdma_cm racy flow (diff) | |
download | linux-dev-14f4b54fe38f3a8f8392a50b951c8aa43b63687a.tar.xz linux-dev-14f4b54fe38f3a8f8392a50b951c8aa43b63687a.zip |
Target/iscsi,iser: Avoid accepting transport connections during stop stage
When the target is in stop stage, iSER transport initiates RDMA disconnects.
The iSER initiator may wish to establish a new connection over the
still existing network portal. In this case iSER transport should not
accept and resume new RDMA connections. In order to learn that, iscsi_np
is added with enabled flag so the iSER transport can check when deciding
weather to accept and resume a new connection request.
The iscsi_np is enabled after successful transport setup, and disabled
before iscsi_np login threads are cleaned up.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Cc: stable@vger.kernel.org # 3.10+
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions