]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson: move PipelineStageIT::enter() dispatch to compile-time
authorRadosław Zarzyński <rzarzyns@redhat.com>
Tue, 26 Apr 2022 20:15:17 +0000 (22:15 +0200)
committerRadosław Zarzyński <rzarzyns@redhat.com>
Thu, 5 May 2022 02:06:32 +0000 (04:06 +0200)
commit013661412be3b6e7d8d41d89d7bec259e66ea7c4
tree2eea23a5021804daf16a4fe5f5d018439964a83f
parent75a9cbbc74ccab9a990a38f941c2f35c8570d76f
crimson: move PipelineStageIT::enter() dispatch to compile-time

The optimization isn't the goal (but rather a side effect). The
reason behind this change is to let pipeline stages define exit
barriers incorporating `OpT`-dependant `Triggers` to track blocking
that happens on the barriers.

Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
src/crimson/common/operation.h