mirror of https://github.com/facebook/rocksdb.git
ad96563b79
Summary: This patch allows an application to specify whether to use bufferedio, reads-via-mmaps and writes-via-mmaps per database. Earlier, there was a global static variable that was used to configure this functionality. The default setting remains the same (and is backward compatible): 1. use bufferedio 2. do not use mmaps for reads 3. use mmap for writes 4. use readaheads for reads needed for compaction I also added a parameter to db_bench to be able to explicitly specify whether to do readaheads for compactions or not. Test Plan: make check Reviewers: sheki, heyongqiang, MarkCallaghan Reviewed By: sheki CC: leveldb Differential Revision: https://reviews.facebook.net/D9429 |
||
---|---|---|
.. | ||
block.cc | ||
block.h | ||
block_builder.cc | ||
block_builder.h | ||
block_test.cc | ||
filter_block.cc | ||
filter_block.h | ||
filter_block_test.cc | ||
format.cc | ||
format.h | ||
iter_heap.h | ||
iterator.cc | ||
iterator_wrapper.h | ||
merger.cc | ||
merger.h | ||
table.cc | ||
table_builder.cc | ||
table_test.cc | ||
two_level_iterator.cc | ||
two_level_iterator.h |