]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: load all classes on startup
authorSage Weil <sage@inktank.com>
Fri, 26 Jul 2013 20:58:46 +0000 (13:58 -0700)
committerSage Weil <sage@inktank.com>
Wed, 7 Aug 2013 20:52:39 +0000 (13:52 -0700)
commite8253ae5451b1c8e3d7d50199b8db7b2d4c66486
tree5d30819308c2d38ec9737536c6052fc206ab59af
parent7a1d6d3e727fd8b6947c658e171bf7ec31cd7966
osd: load all classes on startup

This avoid creating a wide window between when ceph-osd is started and
when a request arrives needing a class and it is loaded.  In particular,
upgrading the packages in that window may cause linkage errors (if the
class API has changed, for example).

Fixes: #5752
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yehuda Sadeh <yehuda@inktank.com>
(cherry picked from commit c24e652d8c5e693498814ebe38c6adbec079ea36)

Conflicts:
src/osd/ClassHandler.cc
src/osd/ClassHandler.cc
src/osd/ClassHandler.h
src/osd/OSD.cc