diff options
author | Kefu Chai <tchaikov@gmail.com> | 2017-08-24 17:15:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 17:15:38 +0200 |
commit | 457c145aefd30a852f525fbf76a871f676502c0a (patch) | |
tree | 7cca1e1caac99232e324551c2ed47fa92f1c8792 | |
parent | Merge pull request #17033 from mychoxin/yuanxin_put_assert_to_base (diff) | |
parent | crush: force rebuilding shadow hierarchy after swapping buckets (diff) | |
download | ceph-13.0.0.tar.xz ceph-13.0.0.zip |
Merge pull request #17083 from xiexingguo/wip-swap-bucketv13.0.0
crush: force rebuilding shadow hierarchy after swapping buckets
Reviewed-by: Sage Weil <sage@redhat.com>
-rw-r--r-- | src/crush/CrushWrapper.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crush/CrushWrapper.cc b/src/crush/CrushWrapper.cc index fcf503c06b0..fd211109252 100644 --- a/src/crush/CrushWrapper.cc +++ b/src/crush/CrushWrapper.cc @@ -1075,7 +1075,7 @@ int CrushWrapper::swap_bucket(CephContext *cct, int src, int dst) // swap names swap_names(src, dst); - return 0; + return rebuild_roots_with_classes(); } int CrushWrapper::link_bucket( |