Move preallocate functionality to native access (#110678)

This commit moves the file preallocation functionality into
NativeAccess. The code is basically the same. One small tweak is that
instead of breaking Java access boundaries in order to get an open file
handle, the new code uses posix open directly.

relates #104876
This commit is contained in:
Ryan Ernst 2024-07-11 09:42:44 -07:00 committed by GitHub
parent 349dac284a
commit 8417d3f141
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 492 additions and 1171 deletions

View file

@ -189,7 +189,6 @@ module org.elasticsearch.server {
exports org.elasticsearch.common.compress;
exports org.elasticsearch.common.document;
exports org.elasticsearch.common.file;
exports org.elasticsearch.common.filesystem;
exports org.elasticsearch.common.geo;
exports org.elasticsearch.common.hash;
exports org.elasticsearch.common.inject;