]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/options.cc: Set Filestore rocksdb compaction readahead option. 20446/head
authorMark Nelson <mnelson@redhat.com>
Thu, 21 Sep 2017 22:21:16 +0000 (17:21 -0500)
committerNathan Cutler <ncutler@suse.com>
Thu, 15 Feb 2018 15:18:35 +0000 (16:18 +0100)
fixes: http://tracker.ceph.com/issues/21505

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

Conflicts:
src/common/options.cc (master commit made the change in
           src/common/options.cc, which doesn't exist in jewel)

src/common/config_opts.h

index 51a50eefe84a728d87450a2a5dafef2d805e0de5..cd13f219546bc3f31e53f9e5e56fe8bd20cd3900 100644 (file)
@@ -860,7 +860,7 @@ OPTION(rocksdb_log_to_ceph_log, OPT_BOOL, true)  // log to ceph log
 OPTION(rocksdb_cache_size, OPT_INT, 128*1024*1024)  // default leveldb cache size
 OPTION(rocksdb_block_size, OPT_INT, 4*1024)  // default rocksdb block size
 // rocksdb options that will be used for omap(if omap_backend is rocksdb)
-OPTION(filestore_rocksdb_options, OPT_STR, "")
+OPTION(filestore_rocksdb_options, OPT_STR, "compaction_readahead_size=2097152")
 // rocksdb options that will be used in monstore
 OPTION(mon_rocksdb_options, OPT_STR, "write_buffer_size=33554432,compression=kNoCompression")