diff options
author | Sage Weil <sage@redhat.com> | 2017-02-28 03:26:00 +0100 |
---|---|---|
committer | Sage Weil <sage@redhat.com> | 2017-05-01 22:35:11 +0200 |
commit | 7e6e4bd5de85eb1f609dac3da5213f2c36b9e301 (patch) | |
tree | ec11652813bd3d11fa07ee26628da268188c1750 /src/osd/PGBackend.h | |
parent | osd/PG: remove unused op_must_wait_for_map (diff) | |
download | ceph-7e6e4bd5de85eb1f609dac3da5213f2c36b9e301.tar.xz ceph-7e6e4bd5de85eb1f609dac3da5213f2c36b9e301.zip |
osd/PGBackend: expose interval_start and last_peering_reset to backends
Signed-off-by: Sage Weil <sage@redhat.com>
Diffstat (limited to 'src/osd/PGBackend.h')
-rw-r--r-- | src/osd/PGBackend.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osd/PGBackend.h b/src/osd/PGBackend.h index 66bb890af01..b50f0d8c78c 100644 --- a/src/osd/PGBackend.h +++ b/src/osd/PGBackend.h @@ -132,6 +132,8 @@ typedef ceph::shared_ptr<const OSDMap> OSDMapRef; OpRequestRef op = OpRequestRef() ) = 0; virtual epoch_t get_epoch() const = 0; + virtual epoch_t get_interval_start_epoch() const = 0; + virtual epoch_t get_last_peering_reset_epoch() const = 0; virtual const set<pg_shard_t> &get_actingbackfill_shards() const = 0; virtual const set<pg_shard_t> &get_acting_shards() const = 0; |