]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Remove qla2x00_wait_for_loop_ready function.
authorSaurav Kashyap <saurav.kashyap@qlogic.com>
Fri, 18 Nov 2011 17:02:09 +0000 (09:02 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 12 Dec 2011 08:31:34 +0000 (12:31 +0400)
commitb2411b11c7d188c65c14df484a6b04a66cb53ea0
tree05d6836525cd9cc52540a8cbea0a19f68eaba9fe
parent1bc5224058729fe47fb21cbe8b1e5cde29758969
[SCSI] qla2xxx: Remove qla2x00_wait_for_loop_ready function.

This function can wait for 5min under certain scenarios. One of them is when
the port is down from switch and bus reset is issued. The bus reset used to
wait for 5 minutes for the loop and upper layer callers used to hang and give
stack trace because of getting stuck for 120 sec. It is legacy code that was
used when the driver used to do queuing of the commands.

Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_os.c