]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/ReplicatedPG: update pg stat fields when they are queried 950/head
authorSage Weil <sage@inktank.com>
Mon, 16 Dec 2013 05:45:30 +0000 (21:45 -0800)
committerSage Weil <sage@inktank.com>
Mon, 16 Dec 2013 05:45:30 +0000 (21:45 -0800)
commita680ea7b806f7d70fb49efb4fbfc8cd9aab32212
tree6e667c849ce5bfdf31fa6e9be69503719ca0f2f9
parentebb3ad9f388c9e66cfbfb35189fbdc34a0c2d3af
osd/ReplicatedPG: update pg stat fields when they are queried

When we query a PG, fill in (most of) the same fields that get
populated when the stats are reported to the mon.

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