• Sagi Grimberg's avatar
    iser-target: Fix logout sequence · 991bb764
    Sagi Grimberg authored
    We don't want to wait for conn_logout_comp from isert_comp_wq
    context as this blocks further completions from being processed.
    Instead we wait for it conditionally (if logout response was
    actually posted) in wait_conn. This wait should normally happen
    immediately as it occurs after we consumed all the completions
    (including flush errors) and conn_logout_comp should have been
    completed.
    Signed-off-by: default avatarSagi Grimberg <sagig@mellanox.com>
    Signed-off-by: default avatarNicholas Bellinger <nab@linux-iscsi.org>
    991bb764
ib_isert.h 4.61 KB