]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: mark osd backend type in osd_data dir 6759/head
authorSage Weil <sage@redhat.com>
Tue, 1 Dec 2015 22:21:00 +0000 (17:21 -0500)
committerSage Weil <sage@redhat.com>
Tue, 1 Dec 2015 22:21:00 +0000 (17:21 -0500)
commitdb9ec690e6d7d173d978884d7a4cbd1f0bf3cf18
tree172a146ce4f742647445eb6498f0964546f00826
parent880a59d1b769d689361af08ce46fa811e9e37196
osd: mark osd backend type in osd_data dir

When we create an osd, mark the type of the backend in the
osd_data dir in the 'type' file.  On startup, if this file is
present, us this to decide which ObjectStore to instantiate.  If
it is not present, use the osd_objectstore option as before.

Signed-off-by: Sage Weil <sage@redhat.com>
src/ceph_osd.cc
src/os/FileStore.cc
src/os/KeyValueStore.cc
src/os/MemStore.cc