rocksdb/util
Zheng Shao 70f0f50731 ldb: file_size and write_buffer_size options.
Summary:
This allows ldb to control the write_buffer_size (which reflects to L0 file size) and file_size (which reflects to L1 file size).  Since the target_file_size_ratio is 1 by default, all other levels will also have the same file size as L1.

As part of the diff, I also cleaned up some unused code and help messages.

Test Plan: ./ldb load --db=/data/users/zshao/test_leveldb --file_size=64000000 --write_buffer_size=32000000 --create_if_missing --input_hex --disable_wal

Reviewers: dhruba, sheki, emayanke

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D7569
2012-12-21 10:40:38 -08:00
..
arena.cc
arena.h
arena_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
auto_split_logger.h Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
bloom.cc Fix all the lint errors. 2012-11-28 17:18:41 -08:00
bloom_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
build_version.h
cache.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
cache_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
coding.cc Added methods to write small ints to bit streams. 2012-12-07 10:42:19 -08:00
coding.h Added methods to write small ints to bit streams. 2012-12-07 10:42:19 -08:00
coding_test.cc Fixed off by 1 in tests. 2012-12-07 10:48:46 -08:00
comparator.cc
crc32c.cc Use CRC32 ss42 instruction. Load it dynamically. 2012-12-21 10:20:32 -08:00
crc32c.h
crc32c_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
env.cc
env_hdfs.cc Move WAL files to archive directory, instead of deleting. 2012-11-28 17:28:08 -08:00
env_posix.cc Fix a race condition while processing tasks by background threads. 2012-12-09 17:15:27 -08:00
env_test.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
filelock_test.cc
filter_policy.cc
hash.cc
hash.h
histogram.cc
histogram.h
ldb_cmd.cc ldb: file_size and write_buffer_size options. 2012-12-21 10:40:38 -08:00
ldb_cmd.h ldb: file_size and write_buffer_size options. 2012-12-21 10:40:38 -08:00
logging.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
logging.h
murmurhash.cc
murmurhash.h
mutexlock.h
options.cc Move WAL files to archive directory, instead of deleting. 2012-11-28 17:28:08 -08:00
posix_logger.h Enable LevelDb to create a new log file if current log file is too large. 2012-10-26 14:55:02 -07:00
random.h
stats_logger.h
status.cc
testharness.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
testharness.h
testutil.cc Fix all warnings generated by -Wall option to the compiler. 2012-11-06 14:07:31 -08:00
testutil.h