Skip to content

Commit ec58afb

Browse files
Li Fengkeithbusch
authored andcommitted
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>
1 parent e89086c commit ec58afb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/nvme/host/tcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2800,7 +2800,7 @@ static int __init nvme_tcp_init_module(void)
28002800
BUILD_BUG_ON(sizeof(struct nvme_tcp_term_pdu) != 24);
28012801

28022802
nvme_tcp_wq = alloc_workqueue("nvme_tcp_wq",
2803-
WQ_MEM_RECLAIM | WQ_HIGHPRI, 0);
2803+
WQ_MEM_RECLAIM | WQ_HIGHPRI | WQ_SYSFS, 0);
28042804
if (!nvme_tcp_wq)
28052805
return -ENOMEM;
28062806

0 commit comments

Comments
 (0)