]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
upstart, sysvinit: use ceph-crush-location hook 779/head
authorSage Weil <sage@inktank.com>
Tue, 29 Oct 2013 18:08:58 +0000 (11:08 -0700)
committerSage Weil <sage@inktank.com>
Tue, 29 Oct 2013 18:10:32 +0000 (11:10 -0700)
commit111a37efb19cb46a48d669bc9866c29b4015a889
tree9674246174c0476ab2380690b817a6a39888b634
parentfc49065d855cfd74cb861d294f3464dd616e82ee
upstart, sysvinit: use ceph-crush-location hook

Instead of hard-coding a check in ceph.conf and some reasonable
defaults, defer this work to ceph-crush-location, and allow users to
specify their own hook with alternative logic.

This can be helpful in a nubmer of cases, like:

 - rack (or other) information included in hostname and easily parsed
   out by a hook
 - multiple types of devices in each host, resulting in 'parallel'
   crush trees (e.g., one for hdd, one for ssd)

Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in
src/upstart/ceph-osd.conf