]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options.cc: Set Filestore rocksdb compaction readahead option.
authorMark Nelson <mnelson@redhat.com>
Thu, 21 Sep 2017 22:21:16 +0000 (17:21 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Wed, 11 Oct 2017 01:46:56 +0000 (21:46 -0400)
fixes: http://tracker.ceph.com/issues/21505

Signed-off-by: Mark Nelson <mnelson@redhat.com>
(cherry picked from commit 66567e573836c570040c8d8148c34b0cf9dc9ce2)

src/common/options.cc

index 4480f2ed308cdb6963693d8bd6fe64b9553daf21..de6dc10974a23da4c02e37b84a2fae18f9f8a00f 100644 (file)
@@ -3650,7 +3650,7 @@ std::vector<Option> get_global_options() {
     // filestore
 
     Option("filestore_rocksdb_options", Option::TYPE_STR, Option::LEVEL_ADVANCED)
-    .set_default("")
+    .set_default("compaction_readahead_size=2097152")
     .set_description(""),
 
     Option("filestore_omap_backend", Option::TYPE_STR, Option::LEVEL_ADVANCED)