osd: drop unused param "legacy_log_entries" in generate_transaction*()

Signed-off-by: songweibin <song.weibin@zte.com.cn>
This commit is contained in:
songweibin 2017-08-31 20:12:17 +08:00
parent 10122edba6
commit 31d70a0581
4 changed files with 0 additions and 5 deletions

View File

@ -1900,7 +1900,6 @@ bool ECBackend::try_reads_to_commit()
op->plan,
ec_impl,
get_parent()->get_info().pgid.pgid,
(get_osdmap()->require_osd_release < CEPH_RELEASE_KRAKEN),
sinfo,
op->remote_read_result,
op->log_entries,

View File

@ -99,7 +99,6 @@ void ECTransaction::generate_transactions(
WritePlan &plan,
ErasureCodeInterfaceRef &ecimpl,
pg_t pgid,
bool legacy_log_entries,
const ECUtil::stripe_info_t &sinfo,
const map<hobject_t,extent_map> &partial_extents,
vector<pg_log_entry_t> &entries,

View File

@ -186,7 +186,6 @@ namespace ECTransaction {
WritePlan &plan,
ErasureCodeInterfaceRef &ecimpl,
pg_t pgid,
bool legacy_log_entries,
const ECUtil::stripe_info_t &sinfo,
const map<hobject_t,extent_map> &partial_extents,
vector<pg_log_entry_t> &entries,

View File

@ -348,7 +348,6 @@ public:
void generate_transaction(
PGTransactionUPtr &pgt,
const coll_t &coll,
bool legacy_log_entries,
vector<pg_log_entry_t> &log_entries,
ObjectStore::Transaction *t,
set<hobject_t> *added,
@ -518,7 +517,6 @@ void ReplicatedBackend::submit_transaction(
generate_transaction(
t,
coll,
(get_osdmap()->require_osd_release < CEPH_RELEASE_KRAKEN),
log_entries,
&op_t,
&added,