]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-crush-location: new crush location hook
authorSage Weil <sage@inktank.com>
Tue, 29 Oct 2013 18:03:04 +0000 (11:03 -0700)
committerSage Weil <sage@inktank.com>
Tue, 29 Oct 2013 18:09:52 +0000 (11:09 -0700)
This generalizes the bit of code that builds a key=value pair list to
update an entity's CRUSH location.

Signed-off-by: Sage Weil <sage@inktank.com>
ceph.spec.in
debian/ceph-common.install
src/Makefile.am

index 1c65957b42d20a17df3d842847b4a1e9040e823f..1cc3aee151e44dabee60a96887936024ae46e837 100644 (file)
@@ -391,6 +391,7 @@ fi
 %{_bindir}/ceph-authtool
 %{_bindir}/ceph-syn
 %{_bindir}/ceph-post-file
+%{_bindir}/ceph-crush-location
 %{_bindir}/ceph-run
 %{_bindir}/ceph-mon
 %{_bindir}/ceph-mds
index 41453f5a6463453c7331dda440b99c56a4eca767..8e3e48b9b82f3f6edec2040e2b814c7ae1cc481b 100644 (file)
@@ -6,6 +6,7 @@ usr/bin/ceph-conf
 usr/bin/ceph-dencoder
 usr/bin/ceph-rest-api
 usr/bin/ceph-syn
+usr/bin/ceph-crush-location
 usr/bin/rados
 usr/bin/rbd
 usr/bin/ceph-post-file
index d9189bde9cabc82daa234bfc28e87bc9f82237f4..8d19485d6959a60241642077c7fce2e18d89944a 100644 (file)
@@ -180,6 +180,7 @@ EXTRA_DIST += \
        ceph-disk-udev \
        ceph-create-keys \
        ceph-rest-api \
+       ceph-crush-location \
        mount.fuse.ceph \
        rbdmap \
        unittest_bufferlist.sh \
@@ -236,7 +237,8 @@ bin_SCRIPTS += \
        ceph-clsinfo \
        ceph-debugpack \
        ceph-rbdnamer \
-       ceph-post-file
+       ceph-post-file \
+       ceph-crush-location
 
 BUILT_SOURCES += init-ceph
 su_sbin_SCRIPTS += mkcephfs