mirror of
https://github.com/ceph/ceph
synced 2025-02-28 13:32:27 +00:00
osd/PG: rm unused parameter in calc_ec_acting
Signed-off-by: yang.wang <yang.wang@easystack.cn>
This commit is contained in:
parent
fb795f556a
commit
b47f21f78f
4
src/osd/PG.cc
Normal file → Executable file
4
src/osd/PG.cc
Normal file → Executable file
@ -1125,9 +1125,7 @@ void PG::calc_ec_acting(
|
||||
map<pg_shard_t, pg_info_t>::const_iterator auth_log_shard,
|
||||
unsigned size,
|
||||
const vector<int> &acting,
|
||||
pg_shard_t acting_primary,
|
||||
const vector<int> &up,
|
||||
pg_shard_t up_primary,
|
||||
const map<pg_shard_t, pg_info_t> &all_info,
|
||||
bool restrict_to_up_acting,
|
||||
vector<int> *_want,
|
||||
@ -1410,9 +1408,7 @@ bool PG::choose_acting(pg_shard_t &auth_log_shard_id,
|
||||
auth_log_shard,
|
||||
get_osdmap()->get_pg_size(info.pgid.pgid),
|
||||
acting,
|
||||
primary,
|
||||
up,
|
||||
up_primary,
|
||||
all_info,
|
||||
restrict_to_up_acting,
|
||||
&want,
|
||||
|
2
src/osd/PG.h
Normal file → Executable file
2
src/osd/PG.h
Normal file → Executable file
@ -1089,9 +1089,7 @@ public:
|
||||
map<pg_shard_t, pg_info_t>::const_iterator auth_log_shard,
|
||||
unsigned size,
|
||||
const vector<int> &acting,
|
||||
pg_shard_t acting_primary,
|
||||
const vector<int> &up,
|
||||
pg_shard_t up_primary,
|
||||
const map<pg_shard_t, pg_info_t> &all_info,
|
||||
bool restrict_to_up_acting,
|
||||
vector<int> *want,
|
||||
|
Loading…
Reference in New Issue
Block a user