提交 c9d02acf 编写于 作者: A andrew.vasquez@qlogic.com 提交者: James Bottomley

[SCSI] qla2xxx: Correct issue where portstate does not transition during loop-resync.

If the Get Port Database call fails during local-loop
update, then schedule the DPC routine to perform a rescan as
the firmware would have updated the Get ID List port-entries
of their new state.
Signed-off-by: NAndrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 210d5350
...@@ -1939,6 +1939,9 @@ qla2x00_configure_local_loop(scsi_qla_host_t *ha) ...@@ -1939,6 +1939,9 @@ qla2x00_configure_local_loop(scsi_qla_host_t *ha)
"information -- get_port_database=%x, " "information -- get_port_database=%x, "
"loop_id=0x%04x\n", "loop_id=0x%04x\n",
ha->host_no, rval2, new_fcport->loop_id)); ha->host_no, rval2, new_fcport->loop_id));
DEBUG2(printk("scsi(%ld): Scheduling resync...\n",
ha->host_no));
set_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags);
continue; continue;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册