]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
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>
Sun, 26 May 2024 08:33:52 +0000 (11:33 +0300)
commit9a4c5853d1c2a353f72cd6358bbdedd93c4cc209
treec66997c9aa6f3789d8281e6ace6ff0f38b351c64
parent4ab40ea0d3a366e3e2cb7bd7da8da9463b27eb25
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>
src/mds/QuiesceAgent.cc
src/test/mds/TestQuiesceAgent.cc