All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning
@ 2022-02-18 18:05 Sreekanth Reddy
  2022-02-19 22:48 ` Martin K. Petersen
  2022-02-28  3:43 ` Martin K. Petersen
  0 siblings, 2 replies; 3+ messages in thread
From: Sreekanth Reddy @ 2022-02-18 18:05 UTC (permalink / raw)
  To: linux-scsi; +Cc: martin.petersen, mpi3mr-linuxdrv.pdl, Sreekanth Reddy

[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]

Fix below 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

Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
---
 drivers/scsi/mpi3mr/mpi3mr_os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/mpi3mr/mpi3mr_os.c b/drivers/scsi/mpi3mr/mpi3mr_os.c
index 68f874b38de8..f7cd70a15ea6 100644
--- a/drivers/scsi/mpi3mr/mpi3mr_os.c
+++ b/drivers/scsi/mpi3mr/mpi3mr_os.c
@@ -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__);
-- 
2.27.0


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4218 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning
  2022-02-18 18:05 [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning Sreekanth Reddy
@ 2022-02-19 22:48 ` Martin K. Petersen
  2022-02-28  3:43 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2022-02-19 22:48 UTC (permalink / raw)
  To: Sreekanth Reddy; +Cc: linux-scsi, martin.petersen, mpi3mr-linuxdrv.pdl


Sreekanth,

> Fix below warning by not allocating driver's event handling worker
> queue with WQ_MEM_RECLAIM flag enabled.

Applied to 5.18/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning
  2022-02-18 18:05 [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning Sreekanth Reddy
  2022-02-19 22:48 ` Martin K. Petersen
@ 2022-02-28  3:43 ` Martin K. Petersen
  1 sibling, 0 replies; 3+ messages in thread
From: Martin K. Petersen @ 2022-02-28  3:43 UTC (permalink / raw)
  To: linux-scsi, Sreekanth Reddy; +Cc: Martin K . Petersen, mpi3mr-linuxdrv.pdl

On Fri, 18 Feb 2022 23:35:15 +0530, Sreekanth Reddy wrote:

> Fix below 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
> 
> 
> [...]

Applied to 5.18/scsi-queue, thanks!

[1/1] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning
      https://git.kernel.org/mkp/scsi/c/334ae6459aa3

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-28  3:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 18:05 [PATCH] mpi3mr: Fix flushing !WQ_MEM_RECLAIM events warning Sreekanth Reddy
2022-02-19 22:48 ` Martin K. Petersen
2022-02-28  3:43 ` Martin K. Petersen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.