dovecot-2.2: lib-fs: Added FS_ITER_FLAG_NOCACHE

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 2 23:06:25 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/e270bf24491c
changeset: 18284:e270bf24491c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 03 01:05:49 2015 +0200
description:
lib-fs: Added FS_ITER_FLAG_NOCACHE

diffstat:

 src/lib-fs/fs-api.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 63338685c25e -r e270bf24491c src/lib-fs/fs-api.h
--- a/src/lib-fs/fs-api.h	Mon Mar 02 21:14:55 2015 +0200
+++ b/src/lib-fs/fs-api.h	Tue Mar 03 01:05:49 2015 +0200
@@ -85,7 +85,12 @@
 	   If this isn't supported, the <objectid> is returned empty. The
 	   object IDs are always hex-encoded data. This flag can be used only
 	   if FS_PROPERTY_OBJECTIDS is enabled. */
-	FS_ITER_FLAG_OBJECTIDS	= 0x04
+	FS_ITER_FLAG_OBJECTIDS	= 0x04,
+	/* Explicitly disable all caching for this iteration (if anything
+	   happens to be enabled). This should be used only in situations where
+	   the iteration is used to fix something that is broken, e.g. doveadm
+	   force-resync. */
+	FS_ITER_FLAG_NOCACHE	= 0x08
 };
 
 struct fs_settings {


More information about the dovecot-cvs mailing list