You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Chip Turner
3dafdfb2c4
Use fallocate to prevent excessive allocation of sst files and logs
...
Summary:
On some filesystems, pre-allocation can be a considerable
amount of space. xfs in our production environment pre-allocates by
1GB, for instance. By using fallocate to inform the kernel of our
expected file sizes, we eliminate this wasteage (that isn't recovered
until the file is closed which, in the case of LOG files, can be a
considerable amount of time).
Test Plan:
created an xfs loopback filesystem, mounted with
allocsize=4M, and ran db_stress. LOG file without this change was 4M,
and with it it was 128k then grew to normal size.
Reviewers: dhruba
Reviewed By: dhruba
CC: adsharma, leveldb
Differential Revision: https://reviews.facebook.net/D7953
12 years ago
..
arena.cc
A number of fixes:
13 years ago
arena.h
A number of fixes:
13 years ago
arena_test.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
auto_split_logger.h
Fix a number of object lifetime/ownership issues
12 years ago
bloom.cc
Fix all the lint errors.
12 years ago
bloom_test.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
build_version.h
Record the version of the source repository that was used to build the leveldb library.
13 years ago
cache.cc
Fix a number of object lifetime/ownership issues
12 years ago
cache_test.cc
Fix a number of object lifetime/ownership issues
12 years ago
coding.cc
Added methods to write small ints to bit streams.
12 years ago
coding.h
Added methods to write small ints to bit streams.
12 years ago
coding_test.cc
Fixed off by 1 in tests.
12 years ago
comparator.cc
merge 1.5
13 years ago
crc32c.cc
Use CRC32 ss42 instruction. Load it dynamically.
12 years ago
crc32c.h
A number of fixes:
13 years ago
crc32c_test.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
env.cc
Fix a number of object lifetime/ownership issues
12 years ago
env_hdfs.cc
Fix a number of object lifetime/ownership issues
12 years ago
env_posix.cc
Use fallocate to prevent excessive allocation of sst files and logs
12 years ago
env_test.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
filelock_test.cc
Prevent concurrent multiple opens of leveldb database.
13 years ago
filter_policy.cc
Added bloom filter support.
13 years ago
hash.cc
A number of fixes:
13 years ago
hash.h
reverting disastrous MOE commit, returning to r21
14 years ago
histogram.cc
A number of fixes:
13 years ago
histogram.h
A number of fixes:
13 years ago
ldb_cmd.cc
Fix a number of object lifetime/ownership issues
12 years ago
ldb_cmd.h
ldb: Add command "ldb query" to support random read from the database
12 years ago
logging.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
logging.h
A number of fixes:
13 years ago
murmurhash.cc
Implement RowLocks for assoc schema
12 years ago
murmurhash.h
Implement RowLocks for assoc schema
12 years ago
mutexlock.h
Implement ReadWrite locks for leveldb
12 years ago
options.cc
Use fallocate to prevent excessive allocation of sst files and logs
12 years ago
posix_logger.h
Use fallocate to prevent excessive allocation of sst files and logs
12 years ago
random.h
A number of fixes:
13 years ago
stats_logger.h
Clean up compiler warnings generated by -Wall option.
13 years ago
status.cc
A number of fixes:
13 years ago
testharness.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
testharness.h
A number of fixes:
13 years ago
testutil.cc
Fix all warnings generated by -Wall option to the compiler.
12 years ago
testutil.h
Fix a number of object lifetime/ownership issues
12 years ago