[PATCH 0/3] Add WQ_PERCPU to alloc_workqueue() users

Marco Crivellari posted 3 patches 3 weeks, 4 days ago
drivers/scsi/qla2xxx/qla_target.c  | 2 +-
drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +-
drivers/scsi/qla4xxx/ql4_os.c      | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
[PATCH 0/3] Add WQ_PERCPU to alloc_workqueue() users
Posted by Marco Crivellari 3 weeks, 4 days ago
Hi,

This series continues the effort to refactor the Workqueue API.
No behavior changes are introduced by this series.

=== Recent changes to the WQ API ===

The following, address the recent changes in the Workqueue API:

- commit 128ea9f6ccfb ("workqueue: Add system_percpu_wq and system_dfl_wq")
- commit 930c2ea566af ("workqueue: Add new WQ_PERCPU flag")

The old workqueues will be removed in a future release cycle and
unbound will become the implicit default.

=== Introduced Changes by this series ===

1) [P 1-2-3] add WQ_PERCPU to  alloc_workqueue() users

    With the introduction of the WQ_PERCPU flag (equivalent to !WQ_UNBOUND),
    any alloc_workqueue() caller that doesn’t explicitly specify WQ_UNBOUND
    must now use WQ_PERCPU.

    WQ_UNBOUND will be removed in future.


For more information:
    https://lore.kernel.org/all/20250221112003.1dSuoGyc@linutronix.de/


Thanks!

Marco Crivellari (3):
  scsi: qla4xxx: add WQ_PERCPU to alloc_workqueue users
  scsi: qla2xxx: add WQ_PERCPU to alloc_workqueue users
  scsi: qla2xxx: target: add WQ_PERCPU to alloc_workqueue users

 drivers/scsi/qla2xxx/qla_target.c  | 2 +-
 drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +-
 drivers/scsi/qla4xxx/ql4_os.c      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.52.0

Re: [PATCH 0/3] Add WQ_PERCPU to alloc_workqueue() users
Posted by Martin K. Petersen 3 days, 19 hours ago
On Tue, 13 Jan 2026 15:57:08 +0100, Marco Crivellari wrote:

> This series continues the effort to refactor the Workqueue API.
> No behavior changes are introduced by this series.
> 
> === Recent changes to the WQ API ===
> 
> The following, address the recent changes in the Workqueue API:
> 
> [...]

Applied to 6.20/scsi-queue, thanks!

[1/3] scsi: qla4xxx: add WQ_PERCPU to alloc_workqueue users
      https://git.kernel.org/mkp/scsi/c/267345b6d1dc
[2/3] scsi: qla2xxx: add WQ_PERCPU to alloc_workqueue users
      https://git.kernel.org/mkp/scsi/c/e4c7c844fae0
[3/3] scsi: qla2xxx: target: add WQ_PERCPU to alloc_workqueue users
      https://git.kernel.org/mkp/scsi/c/e6b42979ea61

-- 
Martin K. Petersen
Re: [PATCH 0/3] Add WQ_PERCPU to alloc_workqueue() users
Posted by Marco Crivellari 3 days, 13 hours ago
On Wed, Feb 4, 2026 at 4:53 AM Martin K. Petersen
<martin.petersen@oracle.com> wrote:
> [...]
> Applied to 6.20/scsi-queue, thanks!
>
> [1/3] scsi: qla4xxx: add WQ_PERCPU to alloc_workqueue users
>       https://git.kernel.org/mkp/scsi/c/267345b6d1dc
> [2/3] scsi: qla2xxx: add WQ_PERCPU to alloc_workqueue users
>       https://git.kernel.org/mkp/scsi/c/e4c7c844fae0
> [3/3] scsi: qla2xxx: target: add WQ_PERCPU to alloc_workqueue users
>       https://git.kernel.org/mkp/scsi/c/e6b42979ea61
>
> --
> Martin K. Petersen

Many thanks Martin!

-- 

Marco Crivellari

L3 Support Engineer
Re: [PATCH 0/3] Add WQ_PERCPU to alloc_workqueue() users
Posted by Martin K. Petersen 2 weeks ago
Marco,

> This series continues the effort to refactor the Workqueue API.
> No behavior changes are introduced by this series.

Applied to 6.20/scsi-staging, thanks!

-- 
Martin K. Petersen