Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osd: initialize waiting_for_pg_osdmap on startup #16535

merged 1 commit into from Aug 2, 2017
Commits on Aug 1, 2017
  1. osd: initialize shardedwq osdmap references on startup

    liewegas committed Aug 1, 2017
    The _process methods assumes the shard osdmap refs are
    non-null, but that leaves a window between startup and
    the first call to prune_pg_waiters (via consume_map()),
    which can lead to a seg fault.
    Calling prune during startup, before we have any work,
    will initialize those references.
    Signed-off-by: Sage Weil <>
You can’t perform that action at this time.