mirror of
https://github.com/ceph/ceph
synced 2025-01-20 18:21:57 +00:00
crushtool: update help
Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
ae5bbc7b08
commit
9b8daa92cd
@ -762,10 +762,15 @@ void usage()
|
||||
cout << " [--num-rep n]\n";
|
||||
cout << " [--weight|-w devno weight]\n";
|
||||
cout << " where weight is 0 to 1.0\n";
|
||||
cout << " -i mapfn --add-item <id> <weight> <name> [--loc type name ...]\n";
|
||||
cout << " -i mapfn --add-item id weight name [--loc type name ...]\n";
|
||||
cout << " insert an item into the hierarchy at the\n";
|
||||
cout << " given location\n";
|
||||
cout << " -i mapfn --reweight recalculate bucket weights\n";
|
||||
cout << " -i mapfn --remove-item name\n"
|
||||
<< " remove the given item\n";
|
||||
cout << " -i mapfn --reweight-item name weight\n";
|
||||
cout << " reweight a given item (and adjust ancestor\n"
|
||||
<< " weights as needed)\n";
|
||||
cout << " -i mapfn --reweight recalculate all bucket weights\n";
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -14,8 +14,13 @@
|
||||
[--num-rep n]
|
||||
[--weight|-w devno weight]
|
||||
where weight is 0 to 1.0
|
||||
-i mapfn --add-item <id> <weight> <name> [--loc type name ...]
|
||||
-i mapfn --add-item id weight name [--loc type name ...]
|
||||
insert an item into the hierarchy at the
|
||||
given location
|
||||
-i mapfn --reweight recalculate bucket weights
|
||||
-i mapfn --remove-item name
|
||||
remove the given item
|
||||
-i mapfn --reweight-item name weight
|
||||
reweight a given item (and adjust ancestor
|
||||
weights as needed)
|
||||
-i mapfn --reweight recalculate all bucket weights
|
||||
[1]
|
||||
|
Loading…
Reference in New Issue
Block a user