commit | 55bda7aacd13f5fdfeaafc16934953171405c692 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Thu Jun 24 12:55:48 2010 -0700 |
committer | Sage Weil <sage@newdream.net> | Thu Jun 24 12:55:48 2010 -0700 |
tree | 0eac30a53266f636589e4b6220409289d068625a | |
parent | bfaf148eb2e42c00f1c79b2163f0804068ea0c5e [diff] |
ceph: fix crush recursion There was a longstanding problem with recursion through intervening bucket types on complex hierarchies. Signed-off-by: Sage Weil <sage@newdream.net>
diff --git a/fs/ceph/crush/mapper.c b/fs/ceph/crush/mapper.c index 9ba54ef..804e6d5 100644 --- a/fs/ceph/crush/mapper.c +++ b/fs/ceph/crush/mapper.c
@@ -366,6 +366,7 @@ BUG_ON(item >= 0 || (-1-item) >= map->max_buckets); in = map->buckets[-1-item]; + retry_bucket = 1; continue; }