]>
git.proxmox.com Git - ceph.git/blob - ceph/src/crimson/osd/pg.h
1 // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
2 // vim: ts=8 sw=2 smarttab
6 #include <boost/intrusive_ptr.hpp>
7 #include <boost/smart_ptr/intrusive_ref_counter.hpp>
8 #include <seastar/core/future.hh>
10 #include "osd/osd_types.h"
12 template<typename T
> using Ref
= boost::intrusive_ptr
<T
>;
14 class PG
: public boost::intrusive_ref_counter
<
16 boost::thread_unsafe_counter
>
18 using ec_profile_t
= std::map
<std::string
,std::string
>;
20 PG(pg_pool_t
&& pool
, std::string
&& name
, ec_profile_t
&& ec_profile
);