]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
squid: mds/quiesce-agt: add test for a rapid async ack
authorLeonid Usov <leonid.usov@ibm.com>
Sat, 25 May 2024 13:35:31 +0000 (16:35 +0300)
committerLeonid Usov <leonid.usov@ibm.com>
Tue, 28 May 2024 19:01:39 +0000 (22:01 +0300)
commitd95a65678f26c6088832707f4a07ec55baf2d949
tree632582732dd222726bfb1109375e0e89adcfa30f
parent0f1e21b2e725950d74bead2c50ce6e9d0b4360ac
squid: mds/quiesce-agt: add test for a rapid async ack

In this scenario, the agent thread is able to run and generate an ack
before the db_update call returns to the caller.

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