summaryrefslogtreecommitdiffstats
path: root/src/client/SyntheticClient.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/SyntheticClient.cc')
-rw-r--r--src/client/SyntheticClient.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/SyntheticClient.cc b/src/client/SyntheticClient.cc
index 3b408dd3f2d..6b315d2dee3 100644
--- a/src/client/SyntheticClient.cc
+++ b/src/client/SyntheticClient.cc
@@ -290,6 +290,7 @@ SyntheticClient::SyntheticClient(StandaloneClient *client, int w)
void *synthetic_client_thread_entry(void *ptr)
{
+ ceph_pthread_setname("client");
SyntheticClient *sc = static_cast<SyntheticClient*>(ptr);
//int r =
sc->run();
@@ -945,7 +946,6 @@ int SyntheticClient::start_thread()
pthread_create(&thread_id, NULL, synthetic_client_thread_entry, this);
ceph_assert(thread_id);
- ceph_pthread_setname(thread_id, "client");
return 0;
}