int new_up_primary,
const vector<int> &old_up,
const vector<int> &new_up,
+ int old_size,
+ int new_size,
int old_min_size,
int new_min_size,
unsigned old_pg_num,
old_up_primary != new_up_primary ||
new_up != old_up ||
old_min_size != new_min_size ||
+ old_size != new_size ||
pgid.is_split(old_pg_num, new_pg_num, 0);
}
new_up_primary,
old_up,
new_up,
+ lastmap->get_pools().find(pgid.pool())->second.size,
+ osdmap->get_pools().find(pgid.pool())->second.size,
lastmap->get_pools().find(pgid.pool())->second.min_size,
osdmap->get_pools().find(pgid.pool())->second.min_size,
lastmap->get_pg_num(pgid.pool()),
int new_up_primary,
const vector<int> &old_up,
const vector<int> &new_up,
+ int old_size,
+ int new_size,
int old_min_size,
int new_min_size,
unsigned old_pg_num,
return RECALC_OP_TARGET_POOL_DNE;
}
+ int size = pi->size;
int min_size = pi->min_size;
unsigned pg_num = pi->get_pg_num();
int up_primary, acting_primary;
up_primary,
t->up,
up,
+ t->size,
+ size,
t->min_size,
min_size,
t->pg_num,
t->acting_primary = acting_primary;
t->up_primary = up_primary;
t->up = up;
+ t->size = size;
t->min_size = min_size;
t->pg_num = pg_num;
ldout(cct, 10) << __func__ << " "
vector<int> acting; ///< set of acting osds for last pg we mapped to
int up_primary; ///< primary for last pg we mapped to based on the up set
int acting_primary; ///< primary for last pg we mapped to based on the acting set
+ int size; ///< the size of the pool when were were last mapped
int min_size; ///< the min size of the pool when were were last mapped
bool used_replica;
pg_num(0),
up_primary(-1),
acting_primary(-1),
+ size(-1),
min_size(-1),
used_replica(false),
paused(false),