CephContext *cct;
const unsigned cutoff_priority;
- MonClient *monc;
ClientRegistry client_registry;
MclockConfig mclock_conf;
std::chrono::duration<Rep,Per> idle_age,
std::chrono::duration<Rep,Per> erase_age,
std::chrono::duration<Rep,Per> check_time,
- MonClient *monc,
bool init_perfcounter=true)
: cct(cct),
cutoff_priority(cutoff_priority),
- monc(monc),
mclock_conf(cct, client_registry, num_shards,
is_rotational, shard_id, whoami),
scheduler(
mClockScheduler(
CephContext *cct, int whoami, uint32_t num_shards,
int shard_id, bool is_rotational, unsigned cutoff_priority,
- MonClient *monc,
bool init_perfcounter=true) :
mClockScheduler(
cct, whoami, num_shards, shard_id, is_rotational, cutoff_priority,
crimson::dmclock::standard_idle_age,
crimson::dmclock::standard_erase_age,
crimson::dmclock::standard_check_time,
- monc, init_perfcounter) {}
+ init_perfcounter) {}
/// Calculate scaled cost per item
uint32_t calc_scaled_cost(int cost);
int shard_id;
bool is_rotational;
unsigned cutoff_priority;
- MonClient *monc;
bool init_perfcounter;
mClockScheduler q;
shard_id(0),
is_rotational(false),
cutoff_priority(12),
- monc(nullptr),
init_perfcounter(true),
q(g_ceph_context, whoami, num_shards, shard_id, is_rotational,
cutoff_priority,
2ms, 2ms, 1ms,
- monc, init_perfcounter),
+ init_perfcounter),
client1(1001),
client2(9999),
client3(100000001)