[SCSI] libiscsi: fix nop handling
authorMike Christie <michaelc@cs.wisc.edu>
Thu, 13 Dec 2007 18:43:30 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:35 +0000 (18:28 -0600)
commitf6d5180c78780d63b0577edeb3ce41eeb3e93eea
tree95eb44fb84dd7659f816c5f1166c1ae7e2301f5f
parent2697478903d0ad8bdbf868b1346ae4b891662bb1
[SCSI] libiscsi: fix nop handling

During root boot and shutdown the target could send us nops.
At this time iscsid cannot be running, so the target will drop
the session and the boot or shutdown will hang.

To handle this and allow us to better control when to check the network
this patch moves the nop handling to the kernel.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/scsi/iscsi_tcp.c
drivers/scsi/libiscsi.c
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/libiscsi.h