]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: change pg_stat_t::reported from eversion_t to a pair of fields
authorSage Weil <sage@inktank.com>
Mon, 8 Jul 2013 21:31:29 +0000 (14:31 -0700)
committerSage Weil <sage@inktank.com>
Tue, 9 Jul 2013 20:42:34 +0000 (13:42 -0700)
commit8e075146f9d46bb4599acb892c749f8a0e248626
tree2de6415d9ad308e7486c56bdcc4a3df8cb65f951
parentcc0006deee3153e06ddd220bf8a40358ba830135
osd: change pg_stat_t::reported from eversion_t to a pair of fields

This rarely represents an actual eversion_t as the epoch and seq values are
bumped semi-independently to ensure it is always unique.  Break it into
two separate fields to avoid confusion.

Drop now-unused and slightly curious inc() method.

Signed-off-by: Sage Weil <sage@inktank.com>
src/messages/MPGStatsAck.h
src/mon/PGMap.cc
src/mon/PGMonitor.cc
src/osd/OSD.cc
src/osd/PG.cc
src/osd/PGLog.cc
src/osd/osd_types.cc
src/osd/osd_types.h
src/test/mon/test_mon_workloadgen.cc