Skip to content

Commit 367f8a3

Browse files
authored
Merge pull request ceph#57279 from xxhdx1985126/wip-65806
crimson/osd/pg: trigger wait_for_active_blocker on replica osds when the activate event is committed Reviewed-by: Samuel Just <[email protected]>
2 parents 27e97f2 + 2389c32 commit 367f8a3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/crimson/osd/pg.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,9 @@ class PG : public boost::intrusive_ref_counter<
323323
}
324324
Context *on_clean() final;
325325
void on_activate_committed() final {
326-
// Not needed yet (will be needed for IO unblocking)
326+
if (!is_primary()) {
327+
wait_for_active_blocker.unblock();
328+
}
327329
}
328330
void on_active_exit() final {
329331
// Not needed yet

0 commit comments

Comments
 (0)