From: Xiubo Li Date: Thu, 21 Mar 2024 02:06:58 +0000 (+0800) Subject: ceph: make the ceph-cap workqueue UNBOUND X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=283ac1d9b556c95c17ea201ddfff7ece40eda2ae;p=ceph-client.git 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 --- diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 7c1c1dac320d..20cb336ebc9f 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c @@ -851,7 +851,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", WQ_PERCPU, 1); + fsc->cap_wq = alloc_workqueue("ceph-cap", WQ_UNBOUND, 1); if (!fsc->cap_wq) goto fail_inode_wq;