]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: split PG::do_osd_ops() to facilitate InternalClientRequest.
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 29 Mar 2021 17:03:19 +0000 (17:03 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 10 May 2021 16:01:32 +0000 (18:01 +0200)
commitf96a7f0acf1cac1dacbb476ea7e61c75c512f718
tree9e5ff9ec5b3c12b5345763de47b6cf6a069cb1b6
parentbca91e658c1ebb4f6cf6dbe220d2b2925a9d0570
crimson/osd: split PG::do_osd_ops() to facilitate InternalClientRequest.

This commit brings `PG::do_osd_ops_execute()` a subset of
`PG::do_osd_ops()`; it handles the ops execution through
`OpsExecuter` and the `submit_transaction()` but it stays
indepedent from `MOSDOp` and `MOSDOpReply`. This trait
facilitates the `InternalClientRequest`.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/ops_executer.h
src/crimson/osd/pg.cc
src/crimson/osd/pg.h