summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fd/array.c
diff options
context:
space:
mode:
authorSagi Grimberg <sagig@mellanox.com>2014-10-01 14:02:05 +0300
committerRoland Dreier <roland@purestorage.com>2014-10-09 00:06:06 -0700
commit8c204e69ced1a8c0d74f8b6d7a1393d055c5c4fa (patch)
treed005e8d3452fab29ba1894d8d9c1df6d3aee0670 /tools/lib/api/fd/array.c
parent3a940daf6fa105d28b69cf3b7a3739a3777f4185 (diff)
IB/iser: Signal iSCSI layer that transport is broken in error completions
Previously we notified iscsi layer about the connection layer when we consumed all of our flush errors. This was racy as there was no guarentee that iscsi_conn wasn't terminated by then (which ends up in an invalid memory access). In case we got a non FLUSH error completion, we are guarenteed that iscsi_conn is still alive. We should notify iSCSI layer with iscsi_conn_failure to initiate error handling. While we are at it, add a nice kernel-doc style documentation. Signed-off-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Ariel Nahum <arieln@mellanox.com> Signed-off-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/lib/api/fd/array.c')
0 files changed, 0 insertions, 0 deletions