]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: store local osd magic, whoami, and other static bits outside of ObjectStore
authorSage Weil <sage@newdream.net>
Tue, 9 Feb 2010 04:29:09 +0000 (20:29 -0800)
committerSage Weil <sage@newdream.net>
Tue, 9 Feb 2010 04:29:09 +0000 (20:29 -0800)
commitc91716edee8a80525cbdc8c0a846f33a70796985
tree35aaf125b510f6d16f6c04028a13fb3b22f3b45f
parent73cc4683129b25dc9fbf3c39da5c4775d4877829
osd: store local osd magic, whoami, and other static bits outside of ObjectStore

These values are immutable, and we also want to look at them prior to
forking and 'mounting' the ObjectStore.  Just keep them in separate files
for simplicity.

This avoids the double filestore startup cost paid on cosd startup.
src/cosd.cc
src/osd/OSD.cc
src/osd/OSD.h
src/osd/osd_types.h