|
|
@ -65,8 +65,6 @@ Options::Options() |
|
|
|
manifest_preallocation_size(4 * 1024 * 1024), |
|
|
|
manifest_preallocation_size(4 * 1024 * 1024), |
|
|
|
purge_redundant_kvs_while_flush(true), |
|
|
|
purge_redundant_kvs_while_flush(true), |
|
|
|
allow_os_buffer(true), |
|
|
|
allow_os_buffer(true), |
|
|
|
allow_readahead(true), |
|
|
|
|
|
|
|
allow_readahead_compactions(true), |
|
|
|
|
|
|
|
allow_mmap_reads(false), |
|
|
|
allow_mmap_reads(false), |
|
|
|
allow_mmap_writes(true), |
|
|
|
allow_mmap_writes(true), |
|
|
|
is_fd_close_on_exec(true), |
|
|
|
is_fd_close_on_exec(true), |
|
|
@ -126,13 +124,10 @@ Options::Dump(Logger* log) const |
|
|
|
Log(log," Options.db_stats_log_interval: %d", |
|
|
|
Log(log," Options.db_stats_log_interval: %d", |
|
|
|
db_stats_log_interval); |
|
|
|
db_stats_log_interval); |
|
|
|
Log(log," Options.allow_os_buffer: %d", allow_os_buffer); |
|
|
|
Log(log," Options.allow_os_buffer: %d", allow_os_buffer); |
|
|
|
Log(log," Options.allow_readahead: %d", allow_readahead); |
|
|
|
|
|
|
|
Log(log," Options.allow_mmap_reads: %d", allow_mmap_reads); |
|
|
|
Log(log," Options.allow_mmap_reads: %d", allow_mmap_reads); |
|
|
|
Log(log," Options.allow_mmap_writes: %d", allow_mmap_writes); |
|
|
|
Log(log," Options.allow_mmap_writes: %d", allow_mmap_writes); |
|
|
|
Log(log," Options.min_write_buffer_number_to_merge: %d", |
|
|
|
Log(log," Options.min_write_buffer_number_to_merge: %d", |
|
|
|
min_write_buffer_number_to_merge); |
|
|
|
min_write_buffer_number_to_merge); |
|
|
|
Log(log," Options.allow_readahead_compactions: %d", |
|
|
|
|
|
|
|
allow_readahead_compactions); |
|
|
|
|
|
|
|
Log(log," Options.purge_redundant_kvs_while_flush: %d", |
|
|
|
Log(log," Options.purge_redundant_kvs_while_flush: %d", |
|
|
|
purge_redundant_kvs_while_flush); |
|
|
|
purge_redundant_kvs_while_flush); |
|
|
|
Log(log," Options.compression_opts.window_bits: %d", |
|
|
|
Log(log," Options.compression_opts.window_bits: %d", |
|
|
@ -193,10 +188,6 @@ Options::Dump(Logger* log) const |
|
|
|
purge_redundant_kvs_while_flush); |
|
|
|
purge_redundant_kvs_while_flush); |
|
|
|
Log(log," Options.allow_os_buffer: %d", |
|
|
|
Log(log," Options.allow_os_buffer: %d", |
|
|
|
allow_os_buffer); |
|
|
|
allow_os_buffer); |
|
|
|
Log(log," Options.allow_readahead: %d", |
|
|
|
|
|
|
|
allow_readahead); |
|
|
|
|
|
|
|
Log(log," Options.allow_readahead_compactions: %d", |
|
|
|
|
|
|
|
allow_readahead_compactions); |
|
|
|
|
|
|
|
Log(log," Options.allow_mmap_reads: %d", |
|
|
|
Log(log," Options.allow_mmap_reads: %d", |
|
|
|
allow_mmap_reads); |
|
|
|
allow_mmap_reads); |
|
|
|
Log(log," Options.allow_mmap_writes: %d", |
|
|
|
Log(log," Options.allow_mmap_writes: %d", |
|
|
|