rocksdb/build_tools
Andrew Kryczka 6a2b4fcb80 Add flag to forcibly disable fallocate
Summary:
see https://github.com/facebook/rocksdb/issues/977; there are issues
with fallocate() on certain filesystems/kernel versions that can lead it to pre-
allocating blocks but never freeing them, even if they're unused.

Test Plan:
verified build commands omit DROCKSDB_FALLOCATE_PRESENT when this env
variable is set.

without disabling it:

  $ ROCKSDB_NO_FBCODE=1 make -n env_test | grep -q DROCKSDB_FALLOCATE_PRESENT ; echo $?
  0

with disabling it:

  $ ROCKSDB_NO_FBCODE=1 DISABLE_FALLOCATE=1 make -n env_test | grep -q DROCKSDB_FALLOCATE_PRESENT ; echo $?
  1

Reviewers: kradhakrishnan, yhchiang, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D54069
2016-02-11 17:00:01 -08:00
..
amalgamate.py New amalgamation target 2015-10-01 08:29:31 +13:00
build_detect_platform Add flag to forcibly disable fallocate 2016-02-11 17:00:01 -08:00
dependencies.sh Include rest of dependencies in dependencies.sh 2016-01-25 14:35:04 -08:00
dependencies_4.8.1.sh Update fbcode_config4.8.1.sh to use update_dependencies.sh 2016-01-26 12:13:27 -08:00
dockerbuild.sh Move dockerbuild.sh to build_tools/ 2015-06-17 14:09:12 -07:00
fb_compile_mongo.sh set -e in fb_compile_mongo.sh 2015-06-29 11:43:25 -07:00
fbcode_config.sh Include rest of dependencies in dependencies.sh 2016-01-25 14:35:04 -08:00
fbcode_config4.8.1.sh Update fbcode_config4.8.1.sh to use update_dependencies.sh 2016-01-26 12:13:27 -08:00
format-diff.sh Check formatting in Travis 2015-09-17 22:02:05 -07:00
make_new_version.sh Updated all copyright headers to the new format. 2016-02-09 15:12:00 -08:00
make_package.sh Package generation for Ubuntu and CentOS 2014-09-29 16:09:46 -07:00
precommit_checker.py Mechanism to run CI jobs on local branch via commit_prereq 2016-01-21 16:22:21 -08:00
regression_build_test.sh Enhance db_bench write rate limit 2016-01-04 12:01:27 -08:00
rocksdb-lego-determinator Improving parser 2015-12-11 11:06:42 -08:00
run_ci_db_test.ps1 fix typos in comments 2015-12-11 01:54:48 +09:00
update_dependencies.sh Update fbcode_config4.8.1.sh to use update_dependencies.sh 2016-01-26 12:13:27 -08:00
version.sh Cross-platform fix version.sh 2014-10-04 11:17:06 +02:00