rocksdb/table
Dhruba Borthakur ad96563b79 Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database.
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
2013-03-20 23:14:03 -07:00
..
block_builder.cc A number of fixes: 2011-10-31 17:22:06 +00:00
block_builder.h A number of fixes: 2011-10-31 17:22:06 +00:00
block_test.cc Unit test to test block format. 2012-12-20 14:55:07 -08:00
block.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
filter_block_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
filter_block.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
filter_block.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
format.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
format.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
iter_heap.h Use a priority queue to merge files. 2013-01-02 13:52:25 -08:00
iterator_wrapper.h Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
iterator.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
merger.h A number of fixes: 2011-10-31 17:22:06 +00:00
table_builder.cc Codemod NULL to nullptr 2013-02-28 18:04:58 -08:00
table_test.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
table.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
two_level_iterator.cc Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00
two_level_iterator.h Ability to configure bufferedio-reads, filesystem-readaheads and mmap-read-write per database. 2013-03-20 23:14:03 -07:00