]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonState: Minimise time we hold the DaemonStateIndex lock 64764/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 30 Jul 2025 23:12:23 +0000 (09:12 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Tue, 5 Aug 2025 00:55:48 +0000 (10:55 +1000)
commitb4304d521f61b61515cade872824210e7d67f6db
tree9345f0d8efc2d09cab2871859ec5fbb09f33a077
parentf5aafe056e3a81969333ae5b05a6936bf225f2f4
mgr/DaemonState: Minimise time we hold the DaemonStateIndex lock

Calling back into python functions whilst holding the lock can result in
this thread being queued for the GIL and resulting in extended delays
for threads waiting to acquire the lock.

Fixes: https://tracker.ceph.com/issues/72337
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
src/mgr/DaemonState.h