]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 20 Aug 2009 20:11:02 +0000 (15:11 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Sat, 5 Sep 2009 14:42:47 +0000 (09:42 -0500)
commit822f0cca2582d704791455933ad75f273df32d47
tree36abdfc44e548134d3a51feff45e3c85591d76d8
parentbda98a35275a9cdab858e3508263bdd75f6db96b
[SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed

If a target closed the connection, we will detect it in the
state_changed or data_ready callout. This adds a new conn
error value to use for this problem, so it is not confused
with when the initiator throws a conn error and drops
the connection.

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