[stgt] [PATCH] handling errors in redirect command output
FUJITA Tomonori
fujita.tomonori at lab.ntt.co.jp
Thu Dec 2 11:00:01 CET 2010
On Tue, 30 Nov 2010 17:10:52 +0200
Alexander Nezhinsky <alexandern at Voltaire.COM> wrote:
> Fixed handling of erroneous output from the dynamic redirect cmd.
> Currently such failures don't not make their way up the call stack,
> and the initiator is left in logged-in state.
> This fix returns negative ret code if redir cmd processing failed,
> and adds sending login target error when this happens, as the reaction
> to the negative retcode.
>
> Signed-off-by: Alexander Nezhinsky <alexandern at voltaire.com>
> ---
> usr/iscsi/iscsid.c | 11 +++++++++--
> usr/iscsi/target.c | 2 ++
> 2 files changed, 11 insertions(+), 2 deletions(-)
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list