- in file: https://github.com/antirez/redis/blob/unstable/src/config.h
- Line:sync_file_range(fd,off,size,SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE)
Maybe modify to "sync_file_range(fd,off,size,SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER)"
But I am not sure.
Comment From: oranagra
I think that there's no problem, and that change is actually undesirable. see https://github.com/redis/redis/pull/7837#issuecomment-698196776
Comment From: oranagra
thanks for reaching out though...