[dovecot-cvs] dovecot/src/lib-storage mail-storage.c, 1.50.2.3, 1.50.2.4 mail-storage.h, 1.107.2.4, 1.107.2.5
tss at dovecot.org
tss at dovecot.org
Thu Dec 28 16:27:44 UTC 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.80.2.5, 1.80.2.6 mail-index-private.h, 1.69.2.2, 1.69.2.3 mail-index.c, 1.230.2.9, 1.230.2.10 mail-index.h, 1.158.2.3, 1.158.2.4 mail-transaction-log.c, 1.111.2.4, 1.111.2.5
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.4, 1.85.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage
In directory talvi:/tmp/cvs-serv32286/src/lib-storage
Modified Files:
Tag: branch_1_0
mail-storage.c mail-storage.h
Log Message:
Added dotlock_use_excl setting.
Index: mail-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.c,v
retrieving revision 1.50.2.3
retrieving revision 1.50.2.4
diff -u -d -r1.50.2.3 -r1.50.2.4
--- mail-storage.c 9 Oct 2006 17:08:03 -0000 1.50.2.3
+++ mail-storage.c 28 Dec 2006 16:27:42 -0000 1.50.2.4
@@ -72,6 +72,8 @@
*flags_r |= MAIL_STORAGE_FLAG_MMAP_DISABLE;
if (getenv("MMAP_NO_WRITE") != NULL)
*flags_r |= MAIL_STORAGE_FLAG_MMAP_NO_WRITE;
+ if (getenv("DOTLOCK_USE_EXCL") != NULL)
+ *flags_r |= MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL;
if (getenv("MAIL_READ_MMAPED") != NULL)
*flags_r |= MAIL_STORAGE_FLAG_MMAP_MAILS;
if (getenv("MAIL_SAVE_CRLF") != NULL)
Index: mail-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.107.2.4
retrieving revision 1.107.2.5
diff -u -d -r1.107.2.4 -r1.107.2.5
--- mail-storage.h 3 Dec 2006 13:29:54 -0000 1.107.2.4
+++ mail-storage.h 28 Dec 2006 16:27:42 -0000 1.107.2.5
@@ -29,7 +29,9 @@
MAIL_STORAGE_FLAG_NO_AUTODETECTION = 0x100,
/* Don't autocreate any directories. If they don't exist,
fail to create the storage. */
- MAIL_STORAGE_FLAG_NO_AUTOCREATE = 0x200
+ MAIL_STORAGE_FLAG_NO_AUTOCREATE = 0x200,
+ /* Rely on O_EXCL when creating dotlocks */
+ MAIL_STORAGE_FLAG_DOTLOCK_USE_EXCL = 0x400
};
enum mail_storage_lock_method {
- Previous message: [dovecot-cvs] dovecot/src/lib-index mail-cache.c, 1.80.2.5, 1.80.2.6 mail-index-private.h, 1.69.2.2, 1.69.2.3 mail-index.c, 1.230.2.9, 1.230.2.10 mail-index.h, 1.158.2.3, 1.158.2.4 mail-transaction-log.c, 1.111.2.4, 1.111.2.5
- Next message: [dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.85.2.4, 1.85.2.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list