]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/common/interruptible_future: check for interruptions after the
authorXuehan Xu <xuxuehan@qianxin.com>
Wed, 11 Mar 2026 08:02:19 +0000 (16:02 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Wed, 11 Mar 2026 08:05:51 +0000 (16:05 +0800)
commitb2b2cd7520010948440b750ff3ce63c018c0e947
tree4bb7d7f0c4093da24eea60ff66986d25a3ea9401
parent12167ed26ab97a4541d838c064f7670ad90da605
crimson/common/interruptible_future: check for interruptions after the
stack resumes

Interruptions may happen when the continuation execution is yielded,
through interruptor::green_get/yield/maybe_yield. So we need to check
it when the execution resumes, otherwise, interruptions may be leaked

Fixes: https://tracker.ceph.com/issues/75333
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/common/interruptible_future.h