MDEV-14132 : fix posix_fallocate() calls to workaround some (ancient) Linux bugs
With this patch, parameters passed to posix_fallocate() will be the same as they were prior to refactoring in commit b731a5bc In particular, 'offset' parameter for posix_fallocate is again current_file_size and 'length' is new_file_size - current_file_size. This seems to fix crashes on ancient Linux (kernel 2.6).
Showing
Please register or sign in to comment