summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-04-29 13:13:47 +0300
committerJiri Slaby <jslaby@suse.cz>2014-06-20 17:34:15 +0200
commit39a125dfd39308cbae38f8555d3fa2de017511a0 (patch)
tree8c8b1bf0786895585b301d60de5ed9f9c9857530 /fs/read_write.c
parent2246a472bce19c0d373fb5488a0e612e3328ce0a (diff)
Target/iscsi,iser: Avoid accepting transport connections during stop stage
commit 14f4b54fe38f3a8f8392a50b951c8aa43b63687a upstream. 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> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions