]> 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, 29 Apr 2026 07:46:50 +0000 (09:46 +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 c05fbd4237f86f99aa9699416f5f018b176c4ba2..8169b0fe8d88e5982d1de871337649ab0c59fd47 100644 (file)
@@ -852,7 +852,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;