]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4cf1e4586c9a08e1e3d851c6254c4783b43caf4f
tree95eb44fb84dd7659f816c5f1166c1ae7e2301f5f
parent855171119630a0ff077d109e317b10a9089855c2
[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