mirror of https://github.com/facebook/rocksdb.git
186b3afaa8
Summary: The compiler flag `-DROCKSDB_FALLOCATE_PRESENT` was only set when `fallocate`, `FALLOC_FL_KEEP_SIZE`, and `FALLOC_FL_PUNCH_HOLE` were all present. However, the last of the three is not really necessary for the primary `fallocate` use case; furthermore, it was introduced only in later Linux kernel versions (2.6.38+). This PR changes the flag `-DROCKSDB_FALLOCATE_PRESENT` to only require `fallocate` and `FALLOC_FL_KEEP_SIZE` to be present. There is a separate check for `FALLOC_FL_PUNCH_HOLE` only in the place where it is used. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5023 Differential Revision: D14248487 Pulled By: siying fbshipit-source-id: a10ed0b902fa755988e957bd2dcec9081ec0502e |
||
---|---|---|
.. | ||
RocksDBCommonHelper.php | ||
amalgamate.py | ||
build_detect_platform | ||
cont_integration.sh | ||
dependencies.sh | ||
dependencies_4.8.1.sh | ||
dependencies_platform007.sh | ||
dockerbuild.sh | ||
error_filter.py | ||
fb_compile_mongo.sh | ||
fbcode_config.sh | ||
fbcode_config4.8.1.sh | ||
fbcode_config_platform007.sh | ||
format-diff.sh | ||
gnu_parallel | ||
make_package.sh | ||
precommit_checker.py | ||
regression_build_test.sh | ||
rocksdb-lego-determinator | ||
run_ci_db_test.ps1 | ||
setup_centos7.sh | ||
update_dependencies.sh | ||
version.sh |