We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fb02706 + 942044c commit 76478d0Copy full SHA for 76478d0
src/mds/Beacon.cc
@@ -17,6 +17,7 @@
17
#include "common/likely.h"
18
#include "common/HeartbeatMap.h"
19
20
+#include "include/compat.h" // for ceph_pthread_setname()
21
#include "include/stringify.h"
22
#include "include/util.h"
23
@@ -73,6 +74,7 @@ void Beacon::init(const MDSMap &mdsmap)
73
74
_notify_mdsmap(mdsmap);
75
76
sender = std::thread([this]() {
77
+ ceph_pthread_setname(pthread_self(), "beacon");
78
std::unique_lock<std::mutex> lock(mutex);
79
bool sent;
80
while (!finished) {
0 commit comments