]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
squid: mds/quiesce-agt: never send a synchronous ack
authorLeonid Usov <leonid.usov@ibm.com>
Sun, 26 May 2024 08:16:48 +0000 (11:16 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Tue, 28 May 2024 19:02:01 +0000 (22:02 +0300)
commit07a98f65445323268ac6f0342a9394646ade0abd
tree27a19bbdfa7af458dfa4a59ce15366ed9c23c904
parentd95a65678f26c6088832707f4a07ec55baf2d949
squid: mds/quiesce-agt: never send a synchronous ack

Defer to the agent thread to perform all acking.
This avoids race conditions between the updating thread
and the acking thread.

Fixes: https://tracker.ceph.com/issues/66219
Signed-off-by: Leonid Usov <leonid.usov@ibm.com>
(cherry picked from commit 9a4c5853d1c2a353f72cd6358bbdedd93c4cc209)
Fixes: https://tracker.ceph.com/issues/66256
src/mds/QuiesceAgent.cc
src/test/mds/TestQuiesceAgent.cc