mirror of
https://github.com/ceph/ceph
synced 2025-04-01 23:02:17 +00:00
osd/: hide pg_interval_t encoder
Signed-off-by: Samuel Just <sjust@redhat.com>
This commit is contained in:
parent
065bb89ca6
commit
0baebe166b
src
@ -2857,6 +2857,7 @@ void PastIntervals::pg_interval_t::generate_test_instances(list<pg_interval_t*>&
|
|||||||
o.back()->maybe_went_rw = true;
|
o.back()->maybe_went_rw = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WRITE_CLASS_ENCODER(PastIntervals::pg_interval_t)
|
||||||
void PastIntervals::encode(bufferlist &bl) const
|
void PastIntervals::encode(bufferlist &bl) const
|
||||||
{
|
{
|
||||||
::encode(past_intervals, bl);
|
::encode(past_intervals, bl);
|
||||||
|
@ -2683,7 +2683,6 @@ private:
|
|||||||
const_reverse_iterator rbegin() const { return past_intervals.rbegin(); }
|
const_reverse_iterator rbegin() const { return past_intervals.rbegin(); }
|
||||||
const_reverse_iterator rend() const { return past_intervals.rend(); }
|
const_reverse_iterator rend() const { return past_intervals.rend(); }
|
||||||
};
|
};
|
||||||
WRITE_CLASS_ENCODER(PastIntervals::pg_interval_t)
|
|
||||||
WRITE_CLASS_ENCODER(PastIntervals)
|
WRITE_CLASS_ENCODER(PastIntervals)
|
||||||
|
|
||||||
ostream& operator<<(ostream& out, const PastIntervals::pg_interval_t& i);
|
ostream& operator<<(ostream& out, const PastIntervals::pg_interval_t& i);
|
||||||
|
@ -67,7 +67,6 @@ TYPE(pg_stat_t)
|
|||||||
TYPE_FEATUREFUL(pool_stat_t)
|
TYPE_FEATUREFUL(pool_stat_t)
|
||||||
TYPE(pg_history_t)
|
TYPE(pg_history_t)
|
||||||
TYPE(pg_info_t)
|
TYPE(pg_info_t)
|
||||||
TYPE(PastIntervals::pg_interval_t)
|
|
||||||
TYPE_FEATUREFUL(pg_query_t)
|
TYPE_FEATUREFUL(pg_query_t)
|
||||||
TYPE(pg_log_entry_t)
|
TYPE(pg_log_entry_t)
|
||||||
TYPE(pg_log_t)
|
TYPE(pg_log_t)
|
||||||
|
Loading…
Reference in New Issue
Block a user