This bug has been copied from bug #515176 and has been proposed to be backported to 5.3 z-stream (EUS).
in kernel-2.6.18-128.28.1.el5 linux-2.6-scsi-scsi_transport_fc-fc_user_scan-correction.patch
Still cannot reproduce this issue. I changed the zoning configure which present 3 rports (path) to host. Then performing continuous rescan with 1s interval: echo "- - -" >/sys/class/scsi_host/host4/scan echo "- - -" >/sys/class/scsi_host/host5/scan During the rescan, I add a zone into a zoneset which present a new rport to host. Host successfully found the new path and add the new scsi device. I have performed 2435 times rescan, but none of them went loop forever. I will keep this one as Sanity Only until we got detailed and practicable reproduce step.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Due to an error in the scsi_transport_fc module, an SCSI scan could get stuck in an infinite loop. With this update, an upstream patch has been applied to resolve this issue, and SCSI scans are now finished as expected.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0140.html