]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonState: Minimise time we hold the DaemonStateIndex lock 65464/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 30 Jul 2025 23:12:23 +0000 (09:12 +1000)
committerPrashant D <pdhange@redhat.com>
Wed, 10 Sep 2025 01:31:04 +0000 (21:31 -0400)
commit2d227ab51fd72313fb359a0bf7b53722fe793fbc
tree026d81531d4ad8e23571af10040d9b45ab30d100
parent43117b9616f77f5e89b334db6f1f444901238626
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>
(cherry picked from commit b4304d521f61b61515cade872824210e7d67f6db)
src/mgr/DaemonState.h