mdbx: игнорирование EAGAIN от flock() в случае копирования на NFS.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2025-04-07 12:13:27 +03:00
parent 8d0eceee9f
commit 29bed7cf5d
3 changed files with 18 additions and 7 deletions

View File

@@ -1745,7 +1745,7 @@ MDBX_INTERNAL int osal_check_fs_incore(mdbx_filehandle_t handle) {
return MDBX_RESULT_FALSE;
}
static int osal_check_fs_local(mdbx_filehandle_t handle, int flags) {
MDBX_INTERNAL int osal_check_fs_local(mdbx_filehandle_t handle, int flags) {
#if defined(_WIN32) || defined(_WIN64)
if (globals.running_under_Wine && !(flags & MDBX_EXCLUSIVE))
return ERROR_NOT_CAPABLE /* workaround for Wine */;