diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2007-12-13 13:43:30 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:28:35 -0500 |
commit | f6d5180c78780d63b0577edeb3ce41eeb3e93eea (patch) | |
tree | 95eb44fb84dd7659f816c5f1166c1ae7e2301f5f /drivers/infiniband | |
parent | 2697478903d0ad8bdbf868b1346ae4b891662bb1 (diff) |
[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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c index a2622f4bd858..265606422278 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.c +++ b/drivers/infiniband/ulp/iser/iscsi_iser.c | |||
@@ -577,7 +577,9 @@ static struct iscsi_transport iscsi_iser_transport = { | |||
577 | ISCSI_PERSISTENT_ADDRESS | | 577 | ISCSI_PERSISTENT_ADDRESS | |
578 | ISCSI_TARGET_NAME | ISCSI_TPGT | | 578 | ISCSI_TARGET_NAME | ISCSI_TPGT | |
579 | ISCSI_USERNAME | ISCSI_PASSWORD | | 579 | ISCSI_USERNAME | ISCSI_PASSWORD | |
580 | ISCSI_USERNAME_IN | ISCSI_PASSWORD_IN, | 580 | ISCSI_USERNAME_IN | ISCSI_PASSWORD_IN | |
581 | ISCSI_FAST_ABORT | ISCSI_ABORT_TMO | | ||
582 | ISCSI_PING_TMO | ISCSI_RECV_TMO, | ||
581 | .host_param_mask = ISCSI_HOST_HWADDRESS | | 583 | .host_param_mask = ISCSI_HOST_HWADDRESS | |
582 | ISCSI_HOST_NETDEV_NAME | | 584 | ISCSI_HOST_NETDEV_NAME | |
583 | ISCSI_HOST_INITIATOR_NAME, | 585 | ISCSI_HOST_INITIATOR_NAME, |