activate event is committed
This is used to unblock localized/balanced reads issued when the pg is
not active yet.
Fixes: https://tracker.ceph.com/issues/65806
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
(cherry picked from commit
2389c32d517e6c3b5e0d593e221af1602114a096)
}
Context *on_clean() final;
void on_activate_committed() final {
- // Not needed yet (will be needed for IO unblocking)
+ if (!is_primary()) {
+ wait_for_active_blocker.unblock();
+ }
}
void on_active_exit() final {
// Not needed yet