]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: update crush_location on startup from ceph-osd
authorSage Weil <sage@redhat.com>
Fri, 22 Apr 2016 15:07:05 +0000 (11:07 -0400)
committerSage Weil <sage@redhat.com>
Mon, 9 May 2016 12:54:44 +0000 (08:54 -0400)
commit573c349245b7192d599a8edb15e2dade3e7170c3
treed8be988a2de65d0fb16dae85b823cdb568ef6abc
parent4587a379a3527f7f2fb92ca37a3ab22af4c86e77
osd: update crush_location on startup from ceph-osd

Update the crush location from ceph-osd instead of relying on
kludgey bash in ceph-osd-prestart.sh.  Among other things, this
lets us get accurate statfs information from the ObjectStore
implementation instead of relying on 'df'.

Fixes: http://tracker.ceph.com/issues/15213
Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph-osd-prestart.sh
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h