]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: s/applying repop/canceling repop/
authorSage Weil <sage@inktank.com>
Tue, 8 Jul 2014 23:11:44 +0000 (16:11 -0700)
committerSage Weil <sage@inktank.com>
Tue, 8 Jul 2014 23:12:25 +0000 (16:12 -0700)
The 'applying' language dates back to when we would wait for acks from
replicas before applying writes locally.  We don't do any of that any more;
now, this loop just cancels the repops with remove_repop() and some other
cleanup.

Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/ReplicatedPG.cc

index 21ae58248fa754be5e3370f0736decb67dc6fbf8..3933cd0226311d3ef196c7bb0d67cac1e6ce644b 100644 (file)
@@ -9218,7 +9218,7 @@ void ReplicatedPG::apply_and_flush_repops(bool requeue)
   while (!repop_queue.empty()) {
     RepGather *repop = repop_queue.front();
     repop_queue.pop_front();
-    dout(10) << " applying repop tid " << repop->rep_tid << dendl;
+    dout(10) << " canceling repop tid " << repop->rep_tid << dendl;
     repop->rep_aborted = true;
     if (repop->on_applied) {
       delete repop->on_applied;