[SCSI] libiscsi: add more informative failure message during iscsi scsi eh
authorMike Christie <michaelc@cs.wisc.edu>
Fri, 31 Dec 2010 08:22:18 +0000 (02:22 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 31 Dec 2010 15:51:54 +0000 (09:51 -0600)
commitdf4da5cdfca05b37b366b9c69925b68586969c1c
treefd5b1c7a6de1c32092e5f4635462ffbe71c029f5
parent5c10007560589a2335a77cbc92347b1474518296
[SCSI] libiscsi: add more informative failure message during iscsi scsi eh

This adds a more informative error code and message
for the iscsi scsi eh session drop paths. This allows
you to distinguish if the session was dropped due to
a connection failure vs the iscsi layer dropping
the session due to scsi eh failure processing.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libiscsi.c
include/scsi/iscsi_if.h