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: update choose_args when items are added/removed #15311

Merged
merged 4 commits into from May 31, 2017
Merged

crush: update choose_args when items are added/removed #15311

merged 4 commits into from May 31, 2017

Commits on May 26, 2017

  1. crush: wrap crush_bucket_{remove,add}_item

    Signed-off-by: Loic Dachary <loic@dachary.org>
    ldachary committed May 26, 2017
    Configuration menu
    Copy the full SHA
    ffc0d0f View commit details
    Browse the repository at this point in the history
  2. crush: allow item addition/removal when choose_args exists

    Signed-off-by: Loic Dachary <loic@dachary.org>
    ldachary committed May 26, 2017
    Configuration menu
    Copy the full SHA
    cd86ef1 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2017

  1. crush: update choose_args when items are added/removed

    When items are added:
    
    - the value in the weight set is set to the target weight. It is assumed
      that weight set are updated on a regular basis and will eventually be
      set to a value that prevents excessive over/under filling.
    
    - the value in the id list is set to the item id.
    
    When items are removed, their weight / ids in all choose_args are
    removed.
    
    Signed-off-by: Loic Dachary <loic@dachary.org>
    ldachary committed May 31, 2017
    Configuration menu
    Copy the full SHA
    b02ad23 View commit details
    Browse the repository at this point in the history
  2. crush: update choose_args on adjust_item_weight

    The osd_crush_update_weight_set (true by default) can be used to disable
    the update of the weights.
    
    Signed-off-by: Loic Dachary <loic@dachary.org>
    ldachary committed May 31, 2017
    Configuration menu
    Copy the full SHA
    2e5fba0 View commit details
    Browse the repository at this point in the history