From: Andrew Vasquez Date: Thu, 24 Apr 2008 22:21:23 +0000 (-0700) Subject: [SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests. X-Git-Tag: v5.15~41194^2~13 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=550bf57dfb2200721baa43cfd9a8c75c2c166870;p=mirror_ubuntu-kernels.git [SCSI] qla2xxx: Wakeup DPC thread to process any deferred-work requests. Signed-off-by: Andrew Vasquez Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 8b33b163b1d4..978d8bdb9b34 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -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) ||