]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: add ObjectContext::wait_recovery_read()
authorKefu Chai <kchai@redhat.com>
Mon, 14 Sep 2020 06:22:40 +0000 (14:22 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 15 Sep 2020 08:45:48 +0000 (16:45 +0800)
commit111a145371bc503bd8384f937010fe533c865f4a
treedcc7ef210d94fbb9893ae81371fa238a527823c6
parent6f1dc2994c49254974a25ca5a2b36608449c133d
crimson/osd: add ObjectContext::wait_recovery_read()

instead of reusing ObjectContext::get_recovery_read() for both
sync call and async call. just add a new method for the async call
for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/object_context.h
src/crimson/osd/pg_recovery.cc
src/crimson/osd/replicated_recovery_backend.cc