ErasureCodeInterfaceRef ec_impl,
uint64_t stripe_width)
: PGBackend(cct, pg, store, coll, ch),
- read_pipeline(cct, ec_impl, this->sinfo, get_parent(), *this),
+ read_pipeline(cct, ec_impl, this->sinfo, get_parent()),
rmw_pipeline(cct, ec_impl, this->sinfo, get_parent(), *this),
ec_impl(ec_impl),
sinfo(ec_impl->get_data_chunk_count(), stripe_width) {
CephContext* cct;
ceph::ErasureCodeInterfaceRef ec_impl;
const ECUtil::stripe_info_t& sinfo;
- PGBackend::Listener* parent;
// TODO: lay an interface down here
- ECBackend& ec_backend;
+ PGBackend::Listener* parent;
PGBackend::Listener *get_parent() const { return parent; }
const OSDMapRef& get_osdmap() const { return get_parent()->pgb_get_osdmap(); }
ReadPipeline(CephContext* cct,
ceph::ErasureCodeInterfaceRef ec_impl,
const ECUtil::stripe_info_t& sinfo,
- PGBackend::Listener* parent,
- ECBackend& ec_backend)
+ PGBackend::Listener* parent)
: cct(cct),
ec_impl(std::move(ec_impl)),
sinfo(sinfo),
- parent(parent),
- ec_backend(ec_backend) {
+ parent(parent) {
}
int get_remaining_shards(