dovecot-2.2: lib-dict: Removed NFS flushing from dict-file backend.
dovecot at dovecot.org
dovecot at dovecot.org
Fri Jul 4 08:50:07 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/b2f3b9f5d7cc
changeset: 17595:b2f3b9f5d7cc
user: Timo Sirainen <tss at iki.fi>
date: Fri Jul 04 11:48:27 2014 +0300
description:
lib-dict: Removed NFS flushing from dict-file backend.
diffstat:
src/lib-dict/dict-file.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 0343869d47cf -r b2f3b9f5d7cc src/lib-dict/dict-file.c
--- a/src/lib-dict/dict-file.c Thu Jul 03 22:24:05 2014 +0300
+++ b/src/lib-dict/dict-file.c Fri Jul 04 11:48:27 2014 +0300
@@ -111,7 +111,11 @@
if (dict->fd == -1)
return TRUE;
- nfs_flush_file_handle_cache(dict->path);
+ /* Disable NFS flushing for now since it can cause unnecessary
+ problems and there's no easy way for us to know here if
+ mail_nfs_storage=yes. In any case it's pretty much an unsupported
+ setting nowadays. */
+ /*nfs_flush_file_handle_cache(dict->path);*/
if (nfs_safe_stat(dict->path, &st1) < 0) {
i_error("stat(%s) failed: %m", dict->path);
return FALSE;
More information about the dovecot-cvs
mailing list