diff options
author | Patrick Donnelly <pdonnell@ibm.com> | 2024-11-13 04:13:46 +0100 |
---|---|---|
committer | Patrick Donnelly <pdonnell@ibm.com> | 2024-11-13 04:13:46 +0100 |
commit | ad153a8d19d3eb6f64ac9bf6cda7232ec8cf53e8 (patch) | |
tree | e6cc55dbd5316ac1ae850d1316a32cf841bdaadf | |
parent | Merge PR #60283 into main (diff) | |
parent | mds/Beacon: wake up the thread in shutdown() (diff) | |
download | ceph-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.cc | 1 |
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(); |