diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-04-05 18:37:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-04-05 18:37:12 -0400 |
commit | 7da23b86e14b77c094b11a9fa5ef5b3758fc9193 (patch) | |
tree | 3da1b6c3c105daf61f1fe1c785821213ab6a9dde /drivers/scsi/libiscsi.c | |
parent | 749d229761ff0135cc4e16b8a28b41ae2f6b2c35 (diff) | |
parent | 421e33d0045ac0aa119c033b78742e0fbf4c3b21 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
[SCSI] qla1280: retain firmware for error recovery
[SCSI] attirbute_container: Initialize sysfs attributes with sysfs_attr_init
[SCSI] advansys: fix regression with request_firmware change
[SCSI] qla2xxx: Updated version number to 8.03.02-k2.
[SCSI] qla2xxx: Prevent sending mbx commands from sysfs during isp reset.
[SCSI] qla2xxx: Disable MSI on qla24xx chips other than QLA2432.
[SCSI] qla2xxx: Check to make sure multique and CPU affinity support is not enabled at the same time.
[SCSI] qla2xxx: Correct vp_idx checking during PORT_UPDATE processing.
[SCSI] qla2xxx: Honour "Extended BB credits" bit for CNAs.
[SCSI] scsi_transport_fc: Make sure commands are completed when rport is offline
[SCSI] libiscsi: Fix recovery slowdown regression
Diffstat (limited to 'drivers/scsi/libiscsi.c')
-rw-r--r-- | drivers/scsi/libiscsi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index abdb66d30eb6..6d5ae4474bb3 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -3088,14 +3088,15 @@ static void iscsi_start_session_recovery(struct iscsi_session *session, | |||
3088 | session->state = ISCSI_STATE_TERMINATE; | 3088 | session->state = ISCSI_STATE_TERMINATE; |
3089 | else if (conn->stop_stage != STOP_CONN_RECOVER) | 3089 | else if (conn->stop_stage != STOP_CONN_RECOVER) |
3090 | session->state = ISCSI_STATE_IN_RECOVERY; | 3090 | session->state = ISCSI_STATE_IN_RECOVERY; |
3091 | |||
3092 | old_stop_stage = conn->stop_stage; | ||
3093 | conn->stop_stage = flag; | ||
3091 | spin_unlock_bh(&session->lock); | 3094 | spin_unlock_bh(&session->lock); |
3092 | 3095 | ||
3093 | del_timer_sync(&conn->transport_timer); | 3096 | del_timer_sync(&conn->transport_timer); |
3094 | iscsi_suspend_tx(conn); | 3097 | iscsi_suspend_tx(conn); |
3095 | 3098 | ||
3096 | spin_lock_bh(&session->lock); | 3099 | spin_lock_bh(&session->lock); |
3097 | old_stop_stage = conn->stop_stage; | ||
3098 | conn->stop_stage = flag; | ||
3099 | conn->c_stage = ISCSI_CONN_STOPPED; | 3100 | conn->c_stage = ISCSI_CONN_STOPPED; |
3100 | spin_unlock_bh(&session->lock); | 3101 | spin_unlock_bh(&session->lock); |
3101 | 3102 | ||