const auto client = op->dmclock_client();
const auto cost = op->dmclock_cost();
- ldpp_dout(op,10) << "scheduling with dmclock client=" << static_cast<int>(client)
- << " cost=" << cost << dendl;
+ if (s->cct->_conf->subsys.should_gather(ceph_subsys_rgw, 10)) {
+ ldpp_dout(op,10) << "scheduling with "
+ << s->cct->_conf.get_val<std::string>("rgw_scheduler_type")
+ << " client=" << static_cast<int>(client)
+ << " cost=" << cost << dendl;
+ }
return scheduler->schedule_request(client, {},
req_state::Clock::to_double(s->time),
cost,