diff options
author | Samuel Just <sjust@redhat.com> | 2019-04-13 02:12:45 +0200 |
---|---|---|
committer | sjust@redhat.com <sjust@redhat.com> | 2019-05-01 20:22:27 +0200 |
commit | 4eef7f405082d7d23f63404e8a952cc0d237df3d (patch) | |
tree | f16170210f75cb6910569b7a9f8de1742053af3f /src/osd/PrimaryLogPG.h | |
parent | osd/: refactor to avoid mutable peer_missing refs in PG (diff) | |
download | ceph-4eef7f405082d7d23f63404e8a952cc0d237df3d.tar.xz ceph-4eef7f405082d7d23f63404e8a952cc0d237df3d.zip |
osd/: Move log version pointer updates to PeeringState
Signed-off-by: sjust@redhat.com <sjust@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | src/osd/PrimaryLogPG.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/osd/PrimaryLogPG.h b/src/osd/PrimaryLogPG.h index 7953989902e..884db99fe71 100644 --- a/src/osd/PrimaryLogPG.h +++ b/src/osd/PrimaryLogPG.h @@ -482,12 +482,12 @@ public: void update_peer_last_complete_ondisk( pg_shard_t fromosd, eversion_t lcod) override { - peer_last_complete_ondisk[fromosd] = lcod; + recovery_state.update_peer_last_complete_ondisk(fromosd, lcod); } void update_last_complete_ondisk( eversion_t lcod) override { - last_complete_ondisk = lcod; + recovery_state.update_last_complete_ondisk(lcod); } void update_stats( @@ -1382,8 +1382,6 @@ protected: unsigned split_bits) override; void apply_and_flush_repops(bool requeue); - void calc_trim_to() override; - void calc_trim_to_aggressive() override; int do_xattr_cmp_u64(int op, __u64 v1, bufferlist& xattr); int do_xattr_cmp_str(int op, string& v1s, bufferlist& xattr); |