]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crush/CrushLocation: add class to manage crush_location
authorSage Weil <sage@redhat.com>
Tue, 29 Mar 2016 16:49:16 +0000 (12:49 -0400)
committerSage Weil <sage@redhat.com>
Mon, 9 May 2016 12:54:44 +0000 (08:54 -0400)
commit6216461915a736e3081eaeeaed7534468ca7260b
tree79c4427985ce055839a8f76b775f102e947c84cc
parent7a17863c73fbf26f7e066ad0a807a579f40099e7
crush/CrushLocation: add class to manage crush_location

The crush_location can come from an explicitly set config,
a hook, or a simple fabricated default (root=default host=...).

Signed-off-by: Sage Weil <sage@redhat.com>
src/CMakeLists.txt
src/common/config_opts.h
src/crush/CrushLocation.cc [new file with mode: 0644]
src/crush/CrushLocation.h [new file with mode: 0644]
src/crush/Makefile.am