rocksdb/build_tools
Andrew Kryczka 186b3afaa8 Use fallocate even if hole-punching unsupported (#5023)
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
2019-03-04 15:43:17 -08:00
..
amalgamate.py
build_detect_platform Use fallocate even if hole-punching unsupported (#5023) 2019-03-04 15:43:17 -08:00
cont_integration.sh
dependencies.sh Release 5.16 (#4298) 2018-08-21 14:43:08 -07:00
dependencies_4.8.1.sh
dependencies_platform007.sh Add latest toolchain (gcc-8, etc.) build support for fbcode users (#4923) 2019-01-28 11:26:32 -08:00
dockerbuild.sh
error_filter.py Separate crash test with atomic flush (#4945) 2019-02-19 14:08:39 -08:00
fb_compile_mongo.sh
fbcode_config.sh Cache dictionary used for decompressing data blocks (#4881) 2019-01-23 18:15:47 -08:00
fbcode_config4.8.1.sh
fbcode_config_platform007.sh Add latest toolchain (gcc-8, etc.) build support for fbcode users (#4923) 2019-01-28 11:26:32 -08:00
format-diff.sh
gnu_parallel Fix typos in comments (#4456) 2018-10-04 20:46:50 -07:00
make_package.sh
precommit_checker.py
regression_build_test.sh
rocksdb-lego-determinator Separate crash test with atomic flush (#4945) 2019-02-19 14:08:39 -08:00
RocksDBCommonHelper.php Fix spelling errors (#4827) 2019-01-02 11:17:57 -08:00
run_ci_db_test.ps1
setup_centos7.sh
update_dependencies.sh Add latest toolchain (gcc-8, etc.) build support for fbcode users (#4923) 2019-01-28 11:26:32 -08:00
version.sh