From 01fdc064d55679bfcaaea5f2265bce020a0d085c Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 21 Mar 2024 10:06:58 +0800 Subject: [PATCH] ceph: make the ceph-cap workqueue UNBOUND There is not harm to mark the ceph-cap workqueue unbounded, just like we do in ceph-inode workqueue. URL: https://www.spinics.net/lists/ceph-users/msg78775.html URL: https://tracker.ceph.com/issues/64977 Reported-by: Stefan Kooman Signed-off-by: Xiubo Li --- fs/ceph/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 2b8438d8a324..9215bba479ff 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -862,7 +862,7 @@ static struct ceph_fs_client *create_fs_client(struct ceph_mount_options *fsopt, fsc->inode_wq = alloc_workqueue("ceph-inode", WQ_UNBOUND, 0); if (!fsc->inode_wq) goto fail_client; - fsc->cap_wq = alloc_workqueue("ceph-cap", 0, 1); + fsc->cap_wq = alloc_workqueue("ceph-cap", WQ_UNBOUND, 1); if (!fsc->cap_wq) goto fail_inode_wq; -- 2.47.3