]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/pg: add comments around do_osd_ops_execute parameters
authorMatan Breizman <mbreizma@redhat.com>
Wed, 6 Sep 2023 12:12:49 +0000 (12:12 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 19 Oct 2023 12:12:59 +0000 (12:12 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/pg.cc

index 6ba56b36e4e2a5aacf3d1a7782019d0fe2f6e303..54a0eb4dde9d859d4eccbc0b7565a4fbe263e132 100644 (file)
@@ -994,6 +994,7 @@ PG::do_osd_ops(
     seastar::make_lw_shared<OpsExecuter>(
       Ref<PG>{this}, obc, op_info, *m, conn, snapc),
     m->ops,
+    // success_func
     [this, m, obc, may_write = op_info.may_write(),
      may_read = op_info.may_read(), rvec = op_info.allows_returnvec()] {
       // TODO: should stop at the first op which returns a negative retval,
@@ -1032,6 +1033,7 @@ PG::do_osd_ops(
       return do_osd_ops_iertr::make_ready_future<MURef<MOSDOpReply>>(
         std::move(reply));
     },
+    // failure_func
     [m, &op_info, obc, this] (const std::error_code& e) {
     return seastar::do_with(eversion_t(), [m, &op_info, obc, e, this](auto &version) {
       auto fut = seastar::now();