summaryrefslogtreecommitdiffstats
path: root/src/crimson/osd/pg_backend.h
diff options
context:
space:
mode:
authorXuehan Xu <xuxuehan@qianxin.com>2024-08-26 11:42:04 +0200
committerXuehan Xu <xuxuehan@qianxin.com>2024-08-26 11:42:04 +0200
commite397216e0cd49161e56cf61ab6e850aa6948b1ee (patch)
tree081e2a977e683f175e628e37d8494e20b4753c20 /src/crimson/osd/pg_backend.h
parentcrimson/osd/pg: Seperate mutate_object from submit_transaction (diff)
downloadceph-e397216e0cd49161e56cf61ab6e850aa6948b1ee.tar.xz
ceph-e397216e0cd49161e56cf61ab6e850aa6948b1ee.zip
crimson/osd: drop PGBackend::mutate_object()
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
Diffstat (limited to 'src/crimson/osd/pg_backend.h')
-rw-r--r--src/crimson/osd/pg_backend.h22
1 files changed, 7 insertions, 15 deletions
diff --git a/src/crimson/osd/pg_backend.h b/src/crimson/osd/pg_backend.h
index 579e2bdee79..21dce24b899 100644
--- a/src/crimson/osd/pg_backend.h
+++ b/src/crimson/osd/pg_backend.h
@@ -220,14 +220,6 @@ public:
ceph::os::Transaction& trans,
osd_op_params_t& osd_op_params,
object_stat_sum_t& delta_stats);
- rep_op_fut_t mutate_object(
- std::set<pg_shard_t> pg_shards,
- crimson::osd::ObjectContextRef &&obc,
- ceph::os::Transaction&& txn,
- osd_op_params_t&& osd_op_p,
- epoch_t min_epoch,
- epoch_t map_epoch,
- std::vector<pg_log_entry_t>&& log_entries);
/**
* list_objects
@@ -418,6 +410,13 @@ public:
ceph::os::Transaction& trans,
osd_op_params_t& osd_op_params,
object_stat_sum_t& delta_stats);
+ virtual rep_op_fut_t
+ submit_transaction(const std::set<pg_shard_t> &pg_shards,
+ const hobject_t& hoid,
+ ceph::os::Transaction&& txn,
+ osd_op_params_t&& osd_op_p,
+ epoch_t min_epoch, epoch_t max_epoch,
+ std::vector<pg_log_entry_t>&& log_entries) = 0;
virtual void got_rep_op_reply(const MOSDRepOpReply&) {}
virtual seastar::future<> stop() = 0;
@@ -475,13 +474,6 @@ private:
object_stat_sum_t& delta_stats,
object_info_t& oi,
uint64_t truncate_size);
- virtual rep_op_fut_t
- _submit_transaction(std::set<pg_shard_t>&& pg_shards,
- const hobject_t& hoid,
- ceph::os::Transaction&& txn,
- osd_op_params_t&& osd_op_p,
- epoch_t min_epoch, epoch_t max_epoch,
- std::vector<pg_log_entry_t>&& log_entries) = 0;
friend class ReplicatedRecoveryBackend;
friend class ::crimson::osd::PG;