]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd/osd_operations/client_request: merge recover_missing,
authorXuehan Xu <xuxuehan@qianxin.com>
Thu, 27 Jun 2024 10:23:21 +0000 (18:23 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 7 Aug 2024 11:18:48 +0000 (19:18 +0800)
commit943e9024f608943271b2455912d099c147c3997e
tree7779d59d5d1cd2f866a88ffb00e9a2a21cb9593e
parent1b2e4d9ab06c68ce73259e4e425ca4e3ecdda027
crimson/osd/osd_operations/client_request: merge recover_missing,
recover_missing_lock_obc and recover_missing_snaps into a single
OrderedConcurrentPhase

The reasons for this change are as follows:

1. the pipeline phase in which the obc loading is done has to be entered
"synchronouly", however, the leaving of an OrderedConcurrentPhase can't
be so, which means we can't enter_sync an OrderedConcurrentPhase from
an earlier OrderedConcurrentPhase directly;
2. on the other hand, the whole missing object/snaps recovery procedure
can and should be a OrderedConcurrentPhase.

Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/osd/osd_operation_external_tracking.h
src/crimson/osd/osd_operations/client_request.cc
src/crimson/osd/osd_operations/client_request.h