Skip to content

Commit

Permalink
[SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests.
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
  • Loading branch information
avasquez01 authored and James Bottomley committed Apr 27, 2008
1 parent c572270 commit 550bf57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/scsi/qla2xxx/qla_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) ||
Expand Down

0 comments on commit 550bf57

Please sign in to comment.