|
|
@ -198,6 +198,7 @@ DBOptions::DBOptions() |
|
|
|
allow_os_buffer(true), |
|
|
|
allow_os_buffer(true), |
|
|
|
allow_mmap_reads(false), |
|
|
|
allow_mmap_reads(false), |
|
|
|
allow_mmap_writes(false), |
|
|
|
allow_mmap_writes(false), |
|
|
|
|
|
|
|
use_direct_reads(false), |
|
|
|
allow_fallocate(true), |
|
|
|
allow_fallocate(true), |
|
|
|
is_fd_close_on_exec(true), |
|
|
|
is_fd_close_on_exec(true), |
|
|
|
skip_log_error_on_recovery(false), |
|
|
|
skip_log_error_on_recovery(false), |
|
|
@ -267,6 +268,7 @@ DBOptions::DBOptions(const Options& options) |
|
|
|
allow_os_buffer(options.allow_os_buffer), |
|
|
|
allow_os_buffer(options.allow_os_buffer), |
|
|
|
allow_mmap_reads(options.allow_mmap_reads), |
|
|
|
allow_mmap_reads(options.allow_mmap_reads), |
|
|
|
allow_mmap_writes(options.allow_mmap_writes), |
|
|
|
allow_mmap_writes(options.allow_mmap_writes), |
|
|
|
|
|
|
|
use_direct_reads(options.use_direct_reads), |
|
|
|
allow_fallocate(options.allow_fallocate), |
|
|
|
allow_fallocate(options.allow_fallocate), |
|
|
|
is_fd_close_on_exec(options.is_fd_close_on_exec), |
|
|
|
is_fd_close_on_exec(options.is_fd_close_on_exec), |
|
|
|
skip_log_error_on_recovery(options.skip_log_error_on_recovery), |
|
|
|
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_mmap_reads: %d", allow_mmap_reads); |
|
|
|
Header(log, " Options.allow_fallocate: %d", allow_fallocate); |
|
|
|
Header(log, " Options.allow_fallocate: %d", allow_fallocate); |
|
|
|
Header(log, " Options.allow_mmap_writes: %d", allow_mmap_writes); |
|
|
|
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", |
|
|
|
Header(log, " Options.create_missing_column_families: %d", |
|
|
|
create_missing_column_families); |
|
|
|
create_missing_column_families); |
|
|
|
Header(log, " Options.db_log_dir: %s", |
|
|
|
Header(log, " Options.db_log_dir: %s", |
|
|
|