]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/osd: let OmapIterator mutators return future<>
authorKefu Chai <kchai@redhat.com>
Wed, 4 Nov 2020 09:50:15 +0000 (17:50 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 4 Nov 2020 14:48:52 +0000 (22:48 +0800)
commit02334cd0e49d1fda7daff58e2f3b31a4dca3bf07
tree549587da1ed25b4556cd530b57c008ff06090f3d
parentfa9c9d1ceff43ab4ec7cf3a9427ca5c7a4b62eba
crimson/osd: let OmapIterator mutators return future<>

instead of returning future<int> where the int represents an errno which
is not checked by any callers, we should just return a future<>, we
could erroratorize it later on, but returning an int is not the right
way to handle this, and it is not consistent with how we handle other
errors elsewhere in crimson.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/os/alienstore/alien_store.cc
src/crimson/os/alienstore/alien_store.h
src/crimson/os/cyanstore/cyan_store.cc
src/crimson/os/cyanstore/cyan_store.h
src/crimson/os/futurized_store.h
src/crimson/osd/replicated_recovery_backend.cc
src/osd/PGLog.h