]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla4xxx: Fix un-necessary delay on invalid DDB
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Mon, 13 Feb 2012 13:00:41 +0000 (18:30 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 15:31:18 +0000 (09:31 -0600)
commit1ecb10382fb0916d171031dd39f89f0a8bbb2e02
tree320437adfbee1062887380650db8d33edffd7e8b
parent9147fbbdf272a57e5609b95d49b711ec26a25023
[SCSI] qla4xxx: Fix un-necessary delay on invalid DDB

Fix the un-necessary wait for completion of a sendtarget on an
invalid DDB entry. The state of an invalid DDB entry is 0 (unassigned)

This will also avoid the delays during system boot.

Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_mbx.c
drivers/scsi/qla4xxx/ql4_os.c