]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
filestore: adjust default sync intervals
authorSage Weil <sage@newdream.net>
Tue, 2 Feb 2010 23:09:36 +0000 (15:09 -0800)
committerSage Weil <sage@newdream.net>
Tue, 2 Feb 2010 23:09:54 +0000 (15:09 -0800)
src/config.cc

index c49af9e2b86804c71ad2fa2597f04270a4c9b4da..f889af9bbf7ec7ca8ba40a4b3396d710d137dea5 100644 (file)
@@ -520,8 +520,8 @@ static struct config_option config_optionsp[] = {
        OPTION(osd_auto_weight, 0, OPT_BOOL, false),
        OPTION(osd_class_timeout, 0, OPT_FLOAT, 10.0),
        OPTION(filestore, 0, OPT_BOOL, false),
-       OPTION(filestore_max_sync_interval, 0, OPT_DOUBLE, .2),    // seconds
-       OPTION(filestore_min_sync_interval, 0, OPT_DOUBLE, .001),  // seconds
+       OPTION(filestore_max_sync_interval, 0, OPT_DOUBLE, 5),    // seconds
+       OPTION(filestore_min_sync_interval, 0, OPT_DOUBLE, .01),  // seconds
        OPTION(filestore_fake_attrs, 0, OPT_BOOL, false),
        OPTION(filestore_fake_collections, 0, OPT_BOOL, false),
        OPTION(filestore_dev, 0, OPT_STR, 0),
@@ -529,7 +529,7 @@ static struct config_option config_optionsp[] = {
        OPTION(filestore_flusher, 0, OPT_BOOL, true),
        OPTION(filestore_flusher_max_fds, 0, OPT_INT, 512),
        OPTION(filestore_sync_flush, 0, OPT_BOOL, false),
-       OPTION(filestore_journal_parallel, 0, OPT_BOOL, false),
+       OPTION(filestore_journal_parallel, 0, OPT_BOOL, true),
        OPTION(filestore_journal_writeahead, 0, OPT_BOOL, false),
        OPTION(filestore_queue_max_ops, 0, OPT_INT, 500),
        OPTION(filestore_queue_max_bytes, 0, OPT_INT, 100 << 20),