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

crush: reset bucket->h.items[i] when removing tree item #10093

Merged
merged 1 commit into from Jul 4, 2016

Commits on Jul 1, 2016

  1. crush: reset bucket->h.items[i] when removing tree item

    * crush: so we don't see the reference after the removing, this keeps
      check_item_loc() happy, and move_bucket() use check_item_loc() to see if
      the removed bucket disappears after the removal.
    * test: also add unittest_crush_wrapper::CrushWrapper.insert_item
    
    Fixes: http://tracker.ceph.com/issues/16525
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed Jul 1, 2016
    Copy the full SHA
    a7069c7 View commit details
    Browse the repository at this point in the history