Commit 6ce612a6 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[PATCH] No LUNs detected with qla2xxx / qla2300

The problem is during the removal of the failover and IOCTL code
from the scsi-qla2xxx-2.6 tree, one critical piece of code
(a one-liner) was inadvertently removed that effectively disables
the drivers ability to bind fcports (devices found in the loop
or fabric) to the SCSI nexus (h/b/t/l).
parent 85c9dbd5
...@@ -1592,6 +1592,8 @@ qla2x00_configure_loop(scsi_qla_host_t *ha) ...@@ -1592,6 +1592,8 @@ qla2x00_configure_loop(scsi_qla_host_t *ha)
if (!atomic_read(&ha->loop_down_timer) && if (!atomic_read(&ha->loop_down_timer) &&
!(test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))) { !(test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))) {
qla2x00_config_os(ha);
/* If we found all devices then go ready */ /* If we found all devices then go ready */
if (!(test_bit(LOGIN_RETRY_NEEDED, &ha->dpc_flags))) { if (!(test_bit(LOGIN_RETRY_NEEDED, &ha->dpc_flags))) {
atomic_set(&ha->loop_state, LOOP_READY); atomic_set(&ha->loop_state, LOOP_READY);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment