From: Sage Weil Date: Tue, 8 Jul 2014 23:11:44 +0000 (-0700) Subject: osd: s/applying repop/canceling repop/ X-Git-Tag: v0.80.5~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6213130f76b1ee89947bae578a1fccf16b845956;p=ceph.git osd: s/applying repop/canceling repop/ 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 (cherry picked from commit ef40737eee4389faa7792661a0f9d15b3d0440f2) --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 5a8d9bac9246..15d2edfd4090 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -9220,7 +9220,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;