]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: make sure pg_stats_t.reported increases
authorSage Weil <sage@newdream.net>
Thu, 23 Apr 2009 17:10:51 +0000 (10:10 -0700)
committerSage Weil <sage@newdream.net>
Thu, 23 Apr 2009 17:10:51 +0000 (10:10 -0700)
commit73b17e649f9b5c661bf010fe6282c0c5f9c5fc78
treefdc17af3cb26198a8b7f4804ccece58826eaf83e
parent4d431b614e205b7aef49da36c8bc8a8ab60c641d
osd: make sure pg_stats_t.reported increases

Our pg stat updates to the monitor will get (temporarily) ignored if this
jumps backwards.  Make sure we keep the largest value when merging info
from a peer.
src/osd/PG.cc