scsi: mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning
Fix the following warning by not allocating driver's event handling worker queue with WQ_MEM_RECLAIM flag enabled: workqueue: WQ_MEM_RECLAIM mpi3mr_fwevt_worker [mpi3mr] is flushing !WQ_MEM_RECLAIM events Link: https://lore.kernel.org/r/20220218180515.27455-1-sreekanth.reddy@broadcom.com Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
c7ede4f044
commit
334ae6459a
@ -4308,7 +4308,7 @@ mpi3mr_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
snprintf(mrioc->fwevt_worker_name, sizeof(mrioc->fwevt_worker_name),
|
||||
"%s%d_fwevt_wrkr", mrioc->driver_name, mrioc->id);
|
||||
mrioc->fwevt_worker_thread = alloc_ordered_workqueue(
|
||||
mrioc->fwevt_worker_name, WQ_MEM_RECLAIM);
|
||||
mrioc->fwevt_worker_name, 0);
|
||||
if (!mrioc->fwevt_worker_thread) {
|
||||
ioc_err(mrioc, "failure at %s:%d/%s()!\n",
|
||||
__FILE__, __LINE__, __func__);
|
||||
|
Loading…
Reference in New Issue
Block a user