• Vladislav Vaintroub's avatar
    MDEV-15779 - mariabackup incremental prepare fails on CIFS mount. · c2dc72c0
    Vladislav Vaintroub authored
    CIFS does not like O_DIRECT flag (it is set successfully, but pread would
    fail).
    
    The fix is not to use O_DIRECT, there is not need for it.
    posix_fadvise() was used already that should prevent buffer cache
    pollution on Linux.
    
    As recommended by documentation of posix_fadvise(), we'll also fsync()
    tablespaces after a batch of writes.
    c2dc72c0
xtrabackup.cc 186 KB