OPTION(osd_scan_list_ping_tp_interval, OPT_U64, 100)
OPTION(osd_auto_weight, OPT_BOOL, false)
OPTION(osd_class_dir, OPT_STR, CEPH_LIBDIR "/rados-classes") // where rados plugins are stored
+OPTION(osd_open_classes_on_start, OPT_BOOL, true)
OPTION(osd_check_for_log_corruption, OPT_BOOL, false)
OPTION(osd_use_stale_snap, OPT_BOOL, false)
OPTION(osd_rollback_to_cluster_snap, OPT_STR, "")
class_handler = new ClassHandler();
cls_initialize(class_handler);
- class_handler->open_all_classes();
+
+ if (g_conf->osd_open_classes_on_start)
+ class_handler->open_all_classes();
// load up "current" osdmap
assert_warn(!osdmap);