]> 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>
Wed, 11 Feb 2026 18:19:16 +0000 (19:19 +0100)
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 7c1c1dac320da365859d8d51b4630492301a4b63..20cb336ebc9ff1f63d1ef5cc06670b8934c35800 100644 (file)
@@ -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;