]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: create apply_ctx_stats() helper
authorSage Weil <sage@redhat.com>
Thu, 3 Sep 2015 01:33:25 +0000 (21:33 -0400)
committerSage Weil <sage@redhat.com>
Thu, 3 Sep 2015 01:40:01 +0000 (21:40 -0400)
commiteb2993a760e8076d7d6adfea125e06504d8d3263
tree3bbdb61017c34ad173c99a3c3244596ddcfa3022
parent9bf103c420b886e103c34dbecb98cacfedc05c17
osd/ReplicatedPG: create apply_ctx_stats() helper

finish_ctx does a dance to update the pg stats correctly despite
racing scrub or backfill; move this into a helper.

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