]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ceph: make the ceph-cap workqueue UNBOUND
authorXiubo Li <xiubli@redhat.com>
Thu, 21 Mar 2024 02:06:58 +0000 (10:06 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 6 Jun 2025 09:12:28 +0000 (11:12 +0200)
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 <stefan@bit.nl>
Signed-off-by: Xiubo Li <xiubli@redhat.com>
fs/ceph/super.c

index 2b8438d8a32412126d70690fb5d1457bf5e810da..9215bba479ffce9f875c4765ae9ffa91d943aa98 100644 (file)
@@ -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;