]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crush: add add_item and reweight functions
authorSage Weil <sage@newdream.net>
Tue, 17 May 2011 20:04:24 +0000 (13:04 -0700)
committerSage Weil <sage@newdream.net>
Tue, 17 May 2011 20:30:49 +0000 (13:30 -0700)
commitd40010bd557c4b21a3de3b1c46268513137b8331
tree442d3754ca17291909546a15185f050344252db0
parent042139d1ac7ba8ce0890971ca4f8fdc01d491a59
crush: add add_item and reweight functions

Insert a device at a particular point in the hierarchy, and adjust weights
as appropriate.

Signed-off-by: Sage Weil <sage@newdream.net>
src/Makefile.am
src/crush/CrushWrapper.cc [new file with mode: 0644]
src/crush/CrushWrapper.h
src/crush/builder.c
src/crush/builder.h
src/crushtool.cc