mirror of
https://github.com/ceph/ceph
synced 2025-03-03 23:10:06 +00:00
crush: fix recursion through intervening types
This fixes pretty core behavior when doing recursion down the tree. I suspect it was broken when changing the retry behavior. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
241d011f05
commit
7ce0338683
@ -368,6 +368,7 @@ static int crush_choose(struct crush_map *map,
|
||||
BUG_ON(item >= 0 ||
|
||||
(-1-item) >= map->max_buckets);
|
||||
in = map->buckets[-1-item];
|
||||
retry_bucket = 1;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user