|
|
|
@ -198,6 +198,7 @@ DBOptions::DBOptions() |
|
|
|
|
allow_os_buffer(true), |
|
|
|
|
allow_mmap_reads(false), |
|
|
|
|
allow_mmap_writes(false), |
|
|
|
|
use_direct_reads(false), |
|
|
|
|
allow_fallocate(true), |
|
|
|
|
is_fd_close_on_exec(true), |
|
|
|
|
skip_log_error_on_recovery(false), |
|
|
|
@ -267,6 +268,7 @@ DBOptions::DBOptions(const Options& options) |
|
|
|
|
allow_os_buffer(options.allow_os_buffer), |
|
|
|
|
allow_mmap_reads(options.allow_mmap_reads), |
|
|
|
|
allow_mmap_writes(options.allow_mmap_writes), |
|
|
|
|
use_direct_reads(options.use_direct_reads), |
|
|
|
|
allow_fallocate(options.allow_fallocate), |
|
|
|
|
is_fd_close_on_exec(options.is_fd_close_on_exec), |
|
|
|
|
skip_log_error_on_recovery(options.skip_log_error_on_recovery), |
|
|
|
@ -333,6 +335,7 @@ void DBOptions::Dump(Logger* log) const { |
|
|
|
|
Header(log, " Options.allow_mmap_reads: %d", allow_mmap_reads); |
|
|
|
|
Header(log, " Options.allow_fallocate: %d", allow_fallocate); |
|
|
|
|
Header(log, " Options.allow_mmap_writes: %d", allow_mmap_writes); |
|
|
|
|
Header(log, " Options.use_direct_reads: %d", use_direct_reads); |
|
|
|
|
Header(log, " Options.create_missing_column_families: %d", |
|
|
|
|
create_missing_column_families); |
|
|
|
|
Header(log, " Options.db_log_dir: %s", |
|
|
|
|