]> git.openfabrics.org - ~emulex/infiniband.git/commit
[SCSI] qla4xxx: Limit the ACB Default Timeout value to 12s
authorNilesh Javali <nilesh.javali@qlogic.com>
Mon, 19 Dec 2011 05:40:44 +0000 (21:40 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 10 Jan 2012 23:01:22 +0000 (17:01 -0600)
commitc28eaaca7acea214937fb9b3ae45e001d49947bf
tree68810f9b907fce5e408948722486d28f502c8795
parent4a4bc2e90c1c689bf929914256310361d4012df1
[SCSI] qla4xxx: Limit the ACB Default Timeout value to 12s

A wrong default timeout value programmed in the adapter causes driver
to wait for that much time while waiting for target discoveries to complete.
This could add huge delays during the driver load time. To avoid this,
limit the default timeout value to 12 seconds if the default timeout value
set in adapter is less than 12 seconds and greater than 120 seconds.

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_os.c