]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
os/newstore: recycle rocksdb log files
authorSage Weil <sage@redhat.com>
Mon, 9 Nov 2015 22:14:45 +0000 (17:14 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:05:17 +0000 (13:05 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/common/config_opts.h

index 0c53079acffafc23bdb6ffc0e88ab5c1c560cf02..d4453192b6a98f088de249ed2a37c07abeb5d3f6 100644 (file)
@@ -830,7 +830,7 @@ OPTION(memstore_page_size, OPT_U64, 64 << 10)
 OPTION(newstore_max_dir_size, OPT_U32, 1000000)
 OPTION(newstore_onode_map_size, OPT_U32, 1024)   // onodes per collection
 OPTION(newstore_backend, OPT_STR, "rocksdb")
-OPTION(newstore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=16,min_write_buffer_number_to_merge=6")
+OPTION(newstore_rocksdb_options, OPT_STR, "compression=kNoCompression,max_write_buffer_number=16,min_write_buffer_number_to_merge=6,recycle_log_file_num=16")
 OPTION(newstore_fail_eio, OPT_BOOL, true)
 OPTION(newstore_sync_io, OPT_BOOL, false)  // perform initial io synchronously
 OPTION(newstore_sync_transaction, OPT_BOOL, false)  // perform kv txn synchronously