]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: drop unused param "legacy_log_entries" in generate_transaction*() 17430/head
authorsongweibin <song.weibin@zte.com.cn>
Thu, 31 Aug 2017 12:12:17 +0000 (20:12 +0800)
committersongweibin <song.weibin@zte.com.cn>
Thu, 31 Aug 2017 12:12:17 +0000 (20:12 +0800)
Signed-off-by: songweibin <song.weibin@zte.com.cn>
src/osd/ECBackend.cc
src/osd/ECTransaction.cc
src/osd/ECTransaction.h
src/osd/ReplicatedBackend.cc

index 40be6a31d4d929f62a30dc5f652a5cfecb33115e..983f0f578ebc6eb46e10d984dab233e5169ef46c 100644 (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,
index b23174f67fdf60c6caec2568011037cd7373cded..8facdd130fba50f27769a0231e722116bca01eb1 100644 (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,
index ff49202bf64993d5d56b1fb320dead03564a0052..f6719380c5f73846e8a1694c2a145e27034d89cd 100644 (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,
index c1430743b3a9f28a0ce22b2e0e64bc5be71ec708..be4a3a70eaf2cba00033816d82ad3215bf3d6c9f 100644 (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,