summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Donnelly <pdonnell@ibm.com>2024-11-13 04:13:46 +0100
committerPatrick Donnelly <pdonnell@ibm.com>2024-11-13 04:13:46 +0100
commitad153a8d19d3eb6f64ac9bf6cda7232ec8cf53e8 (patch)
treee6cc55dbd5316ac1ae850d1316a32cf841bdaadf
parentMerge PR #60283 into main (diff)
parentmds/Beacon: wake up the thread in shutdown() (diff)
downloadceph-ad153a8d19d3eb6f64ac9bf6cda7232ec8cf53e8.tar.xz
ceph-ad153a8d19d3eb6f64ac9bf6cda7232ec8cf53e8.zip
Merge PR #60325 into main
* refs/pull/60325/head: mds/Beacon: wake up the thread in shutdown() Reviewed-by: Patrick Donnelly <pdonnell@ibm.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
-rw-r--r--src/mds/Beacon.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds/Beacon.cc b/src/mds/Beacon.cc
index 642d3428a27..392aa3dcd40 100644
--- a/src/mds/Beacon.cc
+++ b/src/mds/Beacon.cc
@@ -61,6 +61,7 @@ void Beacon::shutdown()
std::unique_lock<std::mutex> lock(mutex);
if (!finished) {
finished = true;
+ cvar.notify_all();
lock.unlock();
if (sender.joinable())
sender.join();