File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2284,8 +2284,6 @@ namespace rgw::dedup {
22842284 d_ctl.started = true ;
22852285 }
22862286 d_runner = std::thread (&Background::run, this );
2287- const auto rc = ceph_pthread_setname (" dedup_bg" );
2288- ldpp_dout (dpp, 5 ) << " dedup_bg start() = " << rc << dendl;
22892287 }
22902288
22912289 // ------------------------- --------------------------------------------------
@@ -2467,6 +2465,9 @@ namespace rgw::dedup {
24672465 // ---------------------------------------------------------------------------
24682466 void Background::run ()
24692467 {
2468+ const auto rc = ceph_pthread_setname (" dedup_bg" );
2469+ ldpp_dout (dpp, 5 ) << __func__ << " ceph_pthread_setname() ret=" << rc << dendl;
2470+
24702471 // 256x8KB=2MB
24712472 const uint64_t PER_SHARD_BUFFER_SIZE = DISK_BLOCK_COUNT *sizeof (disk_block_t );
24722473 ldpp_dout (dpp, 20 ) <<__func__ << " ::dedup::main loop" << dendl;
You can’t perform that action at this time.
0 commit comments