@@ -611,7 +611,7 @@ OpsExecuter::do_execute_op(OSDOp& osd_op)
611611 });
612612 case CEPH_OSD_OP_OMAPSETVALS:
613613#if 0
614- if (!pg.get_pool ().info.supports_omap()) {
614+ if (!pg.get_pgpool ().info.supports_omap()) {
615615 return crimson::ct_error::operation_not_supported::make();
616616 }
617617#endif
@@ -620,7 +620,7 @@ OpsExecuter::do_execute_op(OSDOp& osd_op)
620620 }, true );
621621 case CEPH_OSD_OP_OMAPSETHEADER:
622622#if 0
623- if (!pg.get_pool ().info.supports_omap()) {
623+ if (!pg.get_pgpool ().info.supports_omap()) {
624624 return crimson::ct_error::operation_not_supported::make();
625625 }
626626#endif
@@ -630,7 +630,7 @@ OpsExecuter::do_execute_op(OSDOp& osd_op)
630630 }, true );
631631 case CEPH_OSD_OP_OMAPRMKEYRANGE:
632632#if 0
633- if (!pg.get_pool ().info.supports_omap()) {
633+ if (!pg.get_pgpool ().info.supports_omap()) {
634634 return crimson::ct_error::operation_not_supported::make();
635635 }
636636#endif
@@ -639,7 +639,7 @@ OpsExecuter::do_execute_op(OSDOp& osd_op)
639639 }, true );
640640 case CEPH_OSD_OP_OMAPRMKEYS:
641641 /* * TODO: Implement supports_omap()
642- if (!pg.get_pool ().info.supports_omap()) {
642+ if (!pg.get_pgpool ().info.supports_omap()) {
643643 return crimson::ct_error::operation_not_supported::make();
644644 }*/
645645 return do_write_op ([&osd_op] (auto & backend, auto & os, auto & txn) {
@@ -714,7 +714,7 @@ std::vector<pg_log_entry_t> OpsExecuter::prepare_transaction(
714714
715715// Defined here because there is a circular dependency between OpsExecuter and PG
716716uint32_t OpsExecuter::get_pool_stripe_width () const {
717- return pg->get_pool ().info .get_stripe_width ();
717+ return pg->get_pgpool ().info .get_stripe_width ();
718718}
719719
720720// Defined here because there is a circular dependency between OpsExecuter and PG
@@ -908,7 +908,7 @@ static PG::interruptible_future<> do_pgnls(
908908 }
909909 const auto pg_start = pg.get_pgid ().pgid .get_hobj_start ();
910910 const auto pg_end = \
911- pg.get_pgid ().pgid .get_hobj_end (pg.get_pool ().info .get_pg_num ());
911+ pg.get_pgid ().pgid .get_hobj_end (pg.get_pgpool ().info .get_pg_num ());
912912 return do_pgnls_common (pg_start,
913913 pg_end,
914914 pg.get_backend (),
@@ -952,7 +952,7 @@ static PG::interruptible_future<> do_pgnls_filtered(
952952 return seastar::do_with (std::move (filter),
953953 [&, lower_bound=std::move (lower_bound)](auto && filter) {
954954 const auto pg_start = pg.get_pgid ().pgid .get_hobj_start ();
955- const auto pg_end = pg.get_pgid ().pgid .get_hobj_end (pg.get_pool ().info .get_pg_num ());
955+ const auto pg_end = pg.get_pgid ().pgid .get_hobj_end (pg.get_pgpool ().info .get_pg_num ());
956956 return do_pgnls_common (pg_start,
957957 pg_end,
958958 pg.get_backend (),
@@ -1037,7 +1037,7 @@ static PG::interruptible_future<> do_pgls(
10371037 }
10381038 const auto pg_start = pg.get_pgid ().pgid .get_hobj_start ();
10391039 const auto pg_end =
1040- pg.get_pgid ().pgid .get_hobj_end (pg.get_pool ().info .get_pg_num ());
1040+ pg.get_pgid ().pgid .get_hobj_end (pg.get_pgpool ().info .get_pg_num ());
10411041 return do_pgls_common (pg_start,
10421042 pg_end,
10431043 pg.get_backend (),
@@ -1081,7 +1081,7 @@ static PG::interruptible_future<> do_pgls_filtered(
10811081 return seastar::do_with (std::move (filter),
10821082 [&, lower_bound=std::move (lower_bound)](auto && filter) {
10831083 const auto pg_start = pg.get_pgid ().pgid .get_hobj_start ();
1084- const auto pg_end = pg.get_pgid ().pgid .get_hobj_end (pg.get_pool ().info .get_pg_num ());
1084+ const auto pg_end = pg.get_pgid ().pgid .get_hobj_end (pg.get_pgpool ().info .get_pg_num ());
10851085 return do_pgls_common (pg_start,
10861086 pg_end,
10871087 pg.get_backend (),
0 commit comments