admin: add change_device_weight command
commit17128d5b73c8ad12f45c3888eded5d7a96a5e46a
authorEric Wong <normalperson@yhbt.net>
Fri, 29 Jun 2012 20:26:12 +0000 (29 20:26 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 29 Jun 2012 20:26:52 +0000 (29 20:26 +0000)
tree22eb5cfc15673e4bc5239df7138747a890f76443
parentdadf046dd86a18329140bb0c206c4a0b989825f1
admin: add change_device_weight command

This feature uses the "set_weight" command to change
device weights and has a part of the MogileFS protocol
for many years, now.
lib/mogilefs/admin.rb
lib/mogilefs/backend.rb
test/test_fresh.rb