mirror of
https://github.com/ceph/ceph
synced 2024-12-17 17:05:42 +00:00
crushtool: show zero weight items in crush map decode/dump
This commit is contained in:
parent
5628240e7e
commit
0a8dd93d43
@ -534,10 +534,6 @@ int decompile_crush(CrushWrapper &crush, ostream &out)
|
||||
for (int j=0; j<n; j++) {
|
||||
int item = crush.get_bucket_item(i, j);
|
||||
int w = crush.get_bucket_item_weight(i, j);
|
||||
if (!w) {
|
||||
dopos = true;
|
||||
continue;
|
||||
}
|
||||
out << "\titem ";
|
||||
print_item_name(out, item, crush);
|
||||
out << " weight ";
|
||||
|
Loading…
Reference in New Issue
Block a user