mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
[SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
c5722708c2
commit
550bf57dfb
@ -2599,6 +2599,10 @@ qla2x00_timer(scsi_qla_host_t *ha)
|
||||
start_dpc++;
|
||||
}
|
||||
|
||||
/* Process any deferred work. */
|
||||
if (!list_empty(&ha->work_list))
|
||||
start_dpc++;
|
||||
|
||||
/* Schedule the DPC routine if needed */
|
||||
if ((test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) ||
|
||||
test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) ||
|
||||
|
Loading…
Reference in New Issue
Block a user