• Teodor Sigaev's avatar
    Fsync directory after creating or unlinking file. · 1b02be21
    Teodor Sigaev authored
    If file was created/deleted just before powerloss it's possible that
    file system will miss that. To prevent it, call fsync() where creating/
    unlinkg file is critical.
    
    Author: Michael Paquier
    Reviewed-by: Ashutosh Bapat, Takayuki Tsunakawa, me
    1b02be21
xlog.c 375 KB