]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: report a seq from flush_pg_stats command
authorSage Weil <sage@redhat.com>
Thu, 18 May 2017 21:19:08 +0000 (17:19 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:45 +0000 (13:02 -0400)
commit85b17ba18b03dcfe0513de110f29197c49212331
tree5f6a68e41b48269d7d2bcf6d671055df3c773fbc
parent38ddb686b67df497b9af8b3c9473f57e9f5aafc0
osd: report a seq from flush_pg_stats command

Report a sequence number when we flush_pg_stats.  Combine the up_from and
a per-boot seq number to get a monotonically increasing value across OSD
restarts (we assume less than 4 billion stats reports in a single epoch).

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