]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: schedule action only if the future is not available 37698/head
authorKefu Chai <kchai@redhat.com>
Fri, 16 Oct 2020 14:07:50 +0000 (22:07 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 16 Oct 2020 14:08:03 +0000 (22:08 +0800)
commit1c422d2f2a18b9a9317cc8d548bf7f2a85664cae
tree0842b0724a2d4d27100858c61805a8cf31ea3e61
parentf5adeeb621936efd71cf545935882cbe32a7f078
crimson/common: schedule action only if the future is not available

otherwise we could call do_until() recursively if we have other tasks
which need to prempt the reactor and current future's state is actually
always available.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/common/errorator.h