summaryrefslogtreecommitdiffstats
path: root/src/mds/MDCache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/mds/MDCache.cc')
-rw-r--r--src/mds/MDCache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mds/MDCache.cc b/src/mds/MDCache.cc
index d822f196960..3af0d8c6b1e 100644
--- a/src/mds/MDCache.cc
+++ b/src/mds/MDCache.cc
@@ -14378,6 +14378,7 @@ bool MDCache::is_ready_to_trim_cache(void)
void MDCache::upkeep_main(void)
{
+ ceph_pthread_setname("mds-cache-trim");
std::unique_lock lock(upkeep_mutex);
// create a "memory model" for the upkeep thread. The object maintains