]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: RMWPipeline::start_rmw() takes Op as std::unique_ptr<Op> 52211/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 27 Jun 2023 11:04:31 +0000 (11:04 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Fri, 7 Jul 2023 11:26:16 +0000 (11:26 +0000)
commit49db2d991dd7b5d55fd0d82560dfdc255a826c3d
tree68d6640c4a8a3deebabf43cd709e929c8a17b72d
parent22d2d4f224ae00025b0658c551a20a4d02931fb6
osd: RMWPipeline::start_rmw() takes Op as std::unique_ptr<Op>

The intention behind this refactor is to emphasize that:
  1. callers of `start_rmw()` are supposed to create any
     concrete type of `RMWPipeline::Op`.
  2. `RMWPipeline` operates solely on the abstract `Op`
     and control its life-time.

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