]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge PR #61287 into squid
authorPatrick Donnelly <pdonnell@ibm.com>
Wed, 30 Apr 2025 12:36:28 +0000 (08:36 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Wed, 30 Apr 2025 12:36:28 +0000 (08:36 -0400)
* refs/pull/61287/head:
mds: add or update MDS thread names
log: cache recent threads up to a day
common: cache pthread names
log: concatenate thread names and print once per thread

Reviewed-by: Laura Flores <lflores@redhat.com>
1  2 
src/client/SyntheticClient.cc
src/mds/Beacon.cc
src/mds/MDCache.cc
src/mds/MDLog.cc
src/mds/MDSRank.cc
src/mds/MetricAggregator.cc
src/mds/MetricsHandler.cc
src/mds/PurgeQueue.cc
src/rgw/driver/rados/rgw_notify.cc
src/rgw/rgw_amqp.cc
src/rgw/rgw_kafka.cc

Simple merge
Simple merge
Simple merge
index d3fa9ff3ebe24db4380377d144d58505fc3cfa41,ed72a2ce82cda1e5e3d24aef04f3521e9a735479..75515cdf1e112522cd9a2206bc187975a427e171
@@@ -616,11 -614,9 +616,13 @@@ void MDLog::try_to_commit_open_file_tab
    }
  }
  
 +bool MDLog::is_trim_slow() const {
 +  return (segments.size() > (size_t)(max_segments * log_warn_factor));
 +}
 +
  void MDLog::log_trim_upkeep(void) {
+   ceph_pthread_setname("mds-log-trim");
    dout(10) << dendl;
  
    std::unique_lock mds_lock(mds->mds_lock);
Simple merge
Simple merge
Simple merge
Simple merge
index e3f7710b401c9c73c752a58b5e783a2c3ad2a55e,3097933b543ea47316d5702f6069f4adc9f95e9f..48bd7522632e637b276c2e0a50c5c78a6a1ca6fc
  #include "rgw_perf_counters.h"
  #include "services/svc_zone.h"
  #include "common/dout.h"
 +#include "rgw_url.h"
  #include <chrono>
+ #include <fmt/format.h>
  
 -#define dout_subsys ceph_subsys_rgw
 +#define dout_subsys ceph_subsys_rgw_notification
  
  namespace rgw::notify {
 +  
 +static inline std::ostream& operator<<(std::ostream& out,
 +                                       const event_entry_t& e) {
 +  std::string host;
 +  std::string user;
 +  std::string password;
 +  parse_url_authority(e.push_endpoint, host, user, password);
 +  return out << "notification id: '" << e.event.configurationId
 +             << "', topic: '" << e.arn_topic
 +             << "', endpoint: '" << host
 +             << "', endpoint_user: '" << user
 +             << "', bucket_owner: '" << e.event.bucket_ownerIdentity
 +             << "', bucket: '" << e.event.bucket_name
 +             << "', object: '" << e.event.object_key
 +             << "', event type: '" << e.event.eventName << "'";
 +}
  
  struct persistency_tracker {
    ceph::coarse_real_time last_retry_time {ceph::coarse_real_clock::zero()};
Simple merge
Simple merge