]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: drop unused activate() context list arg
authorSage Weil <sage@redhat.com>
Fri, 9 Feb 2018 22:00:10 +0000 (16:00 -0600)
committerSage Weil <sage@redhat.com>
Wed, 4 Apr 2018 13:26:54 +0000 (08:26 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/PG.cc
src/osd/PG.h

index 9c7abe989217c12477f54416efffd7ee10cbeb8f..c9b533cbf247e5cb1bd290cc2a1afa122141534a 100644 (file)
@@ -1753,7 +1753,6 @@ void PG::build_might_have_unfound()
 
 void PG::activate(ObjectStore::Transaction& t,
                  epoch_t activation_epoch,
-                 list<Context*>& tfin,
                  map<int, map<spg_t,pg_query_t> >& query_map,
                  map<int,
                      vector<
@@ -7822,7 +7821,6 @@ PG::RecoveryState::Active::Active(my_context ctx)
   pg->start_flush(context< RecoveryMachine >().get_cur_transaction());
   pg->activate(*context< RecoveryMachine >().get_cur_transaction(),
               pg->get_osdmap()->get_epoch(),
-              *context< RecoveryMachine >().get_on_safe_context_list(),
               *context< RecoveryMachine >().get_query_map(),
               context< RecoveryMachine >().get_info_map(),
               context< RecoveryMachine >().get_recovery_ctx());
@@ -8241,7 +8239,6 @@ boost::statechart::result PG::RecoveryState::ReplicaActive::react(
   map<int, map<spg_t, pg_query_t> > query_map;
   pg->activate(*context< RecoveryMachine >().get_cur_transaction(),
               actevt.activation_epoch,
-              *context< RecoveryMachine >().get_on_safe_context_list(),
               query_map, NULL, NULL);
   ldout(pg->cct, 10) << "Activate Finished" << dendl;
   return discard_event();
index b269065acaf90a2a2e2e4c279d5dd0ebe563c723..de0e8b83289ef957b10b4fbb83a046dc8fbed1a6 100644 (file)
@@ -1469,7 +1469,6 @@ protected:
   void activate(
     ObjectStore::Transaction& t,
     epoch_t activation_epoch,
-    list<Context*>& tfin,
     map<int, map<spg_t,pg_query_t> >& query_map,
     map<int,
       vector<pair<pg_notify_t, PastIntervals> > > *activator_map,