]> git.proxmox.com Git - ceph.git/blob - ceph/src/crimson/osd/pg_meta.h
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / crimson / osd / pg_meta.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
3
4 #pragma once
5
6 #include <seastar/core/future.hh>
7 #include "osd/osd_types.h"
8
9 namespace ceph::os {
10 class CyanStore;
11 }
12
13 /// PG related metadata
14 class PGMeta
15 {
16 ceph::os::CyanStore* store;
17 const spg_t pgid;
18 public:
19 PGMeta(ceph::os::CyanStore *store, spg_t pgid);
20 seastar::future<epoch_t> get_epoch();
21 seastar::future<pg_info_t, PastIntervals> load();
22 };