Displaying 1 result from an estimated 1 matches for "fsync_mode_alway".
Did you mean:
fsync_mode_always
2014 Jan 08
2
nfs flush/fsync config settings problem
...mail_index_file function - around line 585 :
// my custom debug line
i_info("DEBUG2: fsync_mode=%u flags=%u", (unsigned int)(index->fsync_mode),(unsigned int)flags);
if ((flags & MAIL_INDEX_OPEN_FLAG_NFS_FLUSH) != 0 &&
index->fsync_mode != FSYNC_MODE_ALWAYS)
i_fatal("nfs flush requires mail_fsync=always");
The first time it sees fsync_mode=2 (which is correct value of FSYNC_MODE_ALWAYS), but next function call is with index->fsync_mode=0 and an error is raised, see the logfile above.
Dovecot correctly creates its workin...