diff options
| author | Li Feng <[email protected]> | 2024-03-13 12:38:09 +0000 |
|---|---|---|
| committer | Keith Busch <[email protected]> | 2024-03-18 20:41:11 +0000 |
| commit | ec58afb49e90d6fd468b0e21d2de324dff1a711c (patch) | |
| tree | 377c2cb0f5a7d4a8da4ddc09b2b2658fb1e89d50 /drivers/nvme/host/tcp.c | |
| parent | drivers/nvme: Add quirks for device 126f:2262 (diff) | |
| download | kernel-ec58afb49e90d6fd468b0e21d2de324dff1a711c.tar.gz kernel-ec58afb49e90d6fd468b0e21d2de324dff1a711c.zip | |
nvme-tcp: Export the nvme_tcp_wq to sysfs
Make the workqueue userspace visible for easy viewing and configuration.
Signed-off-by: Li Feng <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/nvme/host/tcp.c')
| -rw-r--r-- | drivers/nvme/host/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/tcp.c b/drivers/nvme/host/tcp.c index a6d596e05602..2ec1186db0a3 100644 --- a/drivers/nvme/host/tcp.c +++ b/drivers/nvme/host/tcp.c @@ -2800,7 +2800,7 @@ static int __init nvme_tcp_init_module(void) BUILD_BUG_ON(sizeof(struct nvme_tcp_term_pdu) != 24); nvme_tcp_wq = alloc_workqueue("nvme_tcp_wq", - WQ_MEM_RECLAIM | WQ_HIGHPRI, 0); + WQ_MEM_RECLAIM | WQ_HIGHPRI | WQ_SYSFS, 0); if (!nvme_tcp_wq) return -ENOMEM; |
