diff options
author | Li Feng <fengli@smartx.com> | 2024-03-13 20:38:09 +0800 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-03-18 13:41:11 -0700 |
commit | ec58afb49e90d6fd468b0e21d2de324dff1a711c (patch) | |
tree | 377c2cb0f5a7d4a8da4ddc09b2b2658fb1e89d50 /drivers/nvme | |
parent | e89086c43f0500bc7c4ce225495b73b8ce234c1f (diff) |
nvme-tcp: Export the nvme_tcp_wq to sysfs
Make the workqueue userspace visible for easy viewing and configuration.
Signed-off-by: Li Feng <fengli@smartx.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'drivers/nvme')
-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; |