/usr/include/dovecot/fsync-mode.h is in dovecot-dev 1:2.2.9-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #ifndef FSYNC_MODE_H
#define FSYNC_MODE_H
enum fsync_mode {
/* fsync when it's necessary for data safety. */
FSYNC_MODE_OPTIMIZED = 0,
/* never fsync (in case of a crash can lose data) */
FSYNC_MODE_NEVER,
/* fsync after all writes. this is necessary with NFS to avoid
write failures being delayed until file is close(). */
FSYNC_MODE_ALWAYS
};
#endif
|