Mercurial > dovecot > core-2.2
comparison src/lib-index/mail-transaction-log-private.h @ 11634:7f19062f58fd HEAD
Renamed fsync_disable to mail_fsync=optimized|always|never.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 25 Jun 2010 16:21:49 +0100 |
parents | 22354f505277 |
children | 2dca300aee5c |
comparison
equal
deleted
inserted
replaced
11633:0dc6f14c271d | 11634:7f19062f58fd |
---|---|
78 }; | 78 }; |
79 | 79 |
80 struct mail_transaction_log { | 80 struct mail_transaction_log { |
81 struct mail_index *index; | 81 struct mail_index *index; |
82 struct mail_transaction_log_view *views; | 82 struct mail_transaction_log_view *views; |
83 enum mail_index_open_flags flags; | |
84 char *filepath, *filepath2; | 83 char *filepath, *filepath2; |
85 | 84 |
86 /* files is a linked list of all the opened log files. the list is | 85 /* files is a linked list of all the opened log files. the list is |
87 sorted by the log file sequence, so that transaction views can use | 86 sorted by the log file sequence, so that transaction views can use |
88 them easily. head contains a pointer to the newest log file. */ | 87 them easily. head contains a pointer to the newest log file. */ |
92 struct mail_transaction_log_file *open_file; | 91 struct mail_transaction_log_file *open_file; |
93 | 92 |
94 unsigned int dotlock_count; | 93 unsigned int dotlock_count; |
95 struct dotlock_settings dotlock_settings, new_dotlock_settings; | 94 struct dotlock_settings dotlock_settings, new_dotlock_settings; |
96 struct dotlock *dotlock; | 95 struct dotlock *dotlock; |
96 | |
97 unsigned int nfs_flush:1; | |
97 }; | 98 }; |
98 | 99 |
99 void | 100 void |
100 mail_transaction_log_file_set_corrupted(struct mail_transaction_log_file *file, | 101 mail_transaction_log_file_set_corrupted(struct mail_transaction_log_file *file, |
101 const char *fmt, ...) | 102 const char *fmt, ...) |