bcb4e51a409d94ae670de96afb8483a4f7855294 |
|
01-Jan-2018 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2018. |
2454dfa32c93c20a8522c6ed42fe057baaac9f9a |
|
01-Jan-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
Updated copyright notices to include the year 2017. |
02c335c23bf5fa225a467c19f2c063fb0dc7b8c3 |
|
12-Jan-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: freshen copyright
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-5]/$1-2016/g;s/ (201[0-5]) Dovecot/ $1-2016 Dovecot/' |
7cb128dc4cae2a03a742f63ba7afee23c78e3af0 |
|
05-Jan-2015 |
Phil Carmody <phil@dovecot.fi> |
global: freshen copyright
Robomatically:
git ls-files | xargs perl -p -i -e 's/(\d+)-201[0-4]/$1-2015/g;s/ (201[0-4]) Dovecot/ $1-2015 Dovecot/'
Happy 2015 everyone!
Signed-off-by: Phil Carmody <phil@dovecot.fi> |
a8c5a86d183db25a57bf193c06b41e092ec2e151 |
|
04-Feb-2014 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2014. |
5a580c3a38ced62d4bcc95b8ac7c4f2935b5d294 |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Oops :) Update copyrights to 2013 without breaking all .c files. |
cca4ba2a504d70a9fe9fee37f8433997359de52c |
|
02-Feb-2013 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2013. |
b71e08759c02a49d02cdfb28343351ad28fc10b5 |
|
12-Oct-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: dovecot.index file is no longer overwritten, so it doesn't need to be locked. |
d5498f4d64a97d04a1b608920f23eb2ad2353d05 |
|
03-May-2012 |
Timo Sirainen <tss@iki.fi> |
lib-index: Removed unused locking code. |
5f5870385cff47efd2f58e7892f251cf13761528 |
|
12-Feb-2012 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2012. |
2e37d45867d081db150ab78dad303b9077aea24f |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
183bea41fa640dc8117f3eb45ff935cd81377a84 |
|
04-Mar-2011 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2011. |
47c7c7aaecfebfe765931d2f0fb41f984e42084f |
|
18-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: More undoing of locking code changes. |
6c80172147a5a1cf937dea3f0f02b6fabcea861c |
|
14-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Put back some of the removed locking complexity.
This fixes a crash when mmap_disable=no and a index was mmap()ed (which
keeps the index locked) and later its read-lock was tried to be changed to
write-lock. |
25d22147c96c4ba8cf07cb044be0ce028bee2247 |
|
06-Oct-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Removed unnecessary code from lock handling.
The code was intended only for blocking write-locks, but those haven't been
used for a long time now. |
bdd7a96c363346f7c38f389791be1487ca08775b |
|
02-Sep-2010 |
Timo Sirainen <tss@iki.fi> |
lib-index: Lock timeout setting wasn't actually used in all places. |
036626b19f14bef582f96e556913ae91b1d67881 |
|
23-Jun-2010 |
Timo Sirainen <tss@iki.fi> |
Added mail_max_lock_timeout setting.
This could be useful inside lda/lmtp protocol sections to avoid them from
spending too much time waiting for locks, since they can easily just
return "try again later".
--HG--
branch : HEAD |
e59faf65ce864fe95dc00f5d52b8323cdbd0608a |
|
25-Jan-2010 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2010.
--HG--
branch : HEAD |
66ecc94150cbce23aad3240135e0782e0a74d479 |
|
30-Jul-2009 |
Timo Sirainen <tss@iki.fi> |
index: Removed duplication of mail_index_open_flags from struct mail_index.
--HG--
branch : HEAD |
45312f52ff3a3d4c137447be4c7556500c2f8bf2 |
|
06-Jan-2009 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2009.
--HG--
branch : HEAD |
76b43e4417bab52e913da39b5f5bc2a130d3f149 |
|
01-Jan-2008 |
Timo Sirainen <tss@iki.fi> |
Updated copyright notices to include year 2008.
--HG--
branch : HEAD |
bc564f1d3d953cf724828322b11ae89e0f59ffc9 |
|
18-Nov-2007 |
Timo Sirainen <tss@iki.fi> |
NFS cache flushing APIs changed and backend implements it a bit differently.
Hopefully this works now more correctly.
--HG--
branch : HEAD |
89a126810703c666309310d0f3189e9834d70b5b |
|
16-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced my Copyright notices. The year range always ends with 2007 now.
My name was replaced with "Dovecot authors". In many cases I didn't really
even own the copyright, so this is more correct.
--HG--
branch : HEAD |
cc833a7a4e2258afdc834ace4bfe6579820a1df3 |
|
09-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Replaced MAIL_INDEX_LOCK_SECS usage with cache/index/log specific defines
which are common with dotlocks.
--HG--
branch : HEAD |
51b979b6414b940f04677a7e2d064be119345954 |
|
12-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Flush NFS caches when needed if MAIL_INDEX_OPEN_FLAG_NFS_FLUSH is enabled.
--HG--
branch : HEAD |
14c474d9f4591c397ed0b5206af6537c7b52c924 |
|
01-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Rewrite index lock handling.
--HG--
branch : HEAD |
2a6af811ea3de3cf9e2f15e446674dd21b0705f3 |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
Initial commit for major index file code cleanup.
- dovecot.index file isn't anymore required to be updated when syncing.
- Getting the latest index file mapping is now done always by reading
dovecot.index and then reading the latest changes from dovecot.index.log.
- mmap()ing dovecot.index file is slower than reading it, so it's not
currently done unless the file is at 256kB. This may change though.
- Some things are still broken.
--HG--
branch : HEAD |
50ad45a7f45495b2d88d270cf066765b6f5fb77d |
|
16-May-2007 |
Timo Sirainen <tss@iki.fi> |
If index file is shared locked while we're trying to exclusively lock it,
don't wait 2 seconds for the lock. Also don't bother copying the index into
a temp file when it's locked, do that only when it's being unlocked so it
doesn't have to be written twice.
--HG--
branch : HEAD |
cde8caaf0da5e1a2688bafcf9dd267d7de54c687 |
|
14-May-2007 |
Timo Sirainen <tss@iki.fi> |
Log an error if pwrite_full() fails while overwriting index mapping.
--HG--
branch : HEAD |
62841b5c4a756de08da71bcb3d169616c87703e3 |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Delete copy-lock file instead of rename()ing it if we've moved to in-memory
indexes.
--HG--
branch : HEAD |
ccffbed92cb02c24fd717808a84138240bf1885b |
|
11-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
If we run out of disk space, move to in-memory indexes.
--HG--
branch : HEAD |
95a284736b8b11319a3f575ba249ba2eb7dbac1b |
|
17-Jan-2007 |
Timo Sirainen <tss@iki.fi> |
Fixes to error handling paths.
--HG--
branch : HEAD |
ee8668d8a88e8f71d327dd38e13d89b268d8e8a2 |
|
31-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Minor locking fix/cleanups.
--HG--
branch : HEAD |
369a1084c500a9df7448ffa9409ce32e42060bc2 |
|
17-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Added fsync_disable setting. Also added missing fsync()ing to dbox when
saving mails.
--HG--
branch : HEAD |
619fd254d0005141a8fac481c4f6f07fa99ce41d |
|
10-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Don't crash with in-memory indexes
--HG--
branch : HEAD |
d9fdacd5fb3e07997e5c389739d2054f0c8441d8 |
|
06-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Lock handling changes. Everything goes through file-lock API now and there's
only a single enum listing the different lock methods. This change exposed
some unneeded (or possibly even wrong?) unlock calls in index file handling
which were fixed.
--HG--
branch : HEAD |
ec02623d3e97dbfaecc12c703f38b09da69a24ea |
|
24-Oct-2006 |
Timo Sirainen <tss@iki.fi> |
flock isn't anymore the default locking method, so don't bother giving a
special error message if it fails.
--HG--
branch : HEAD |
538c58fc95200fcc5e91abdda8b912b574a2f968 |
|
18-Feb-2006 |
Timo Sirainen <timo.sirainen@movial.fi> |
Added some locking related asserts, comments and when replacing index file, open it
immediately into memory (seemed to work before too, though).
--HG--
branch : HEAD |
6c52c6e83dfd6d2491097891900a9aa2610bef92 |
|
22-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Don't break with INDEX=MEMORY and lock_method=dotlock
--HG--
branch : HEAD |
fe4d93fb06c39c82802c5a5ab9ddb3251863cf6c |
|
19-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Don't try to write to index file if it's in memory.
--HG--
branch : HEAD |
6ef7e31619edfaa17ed044b45861d106a86191ef |
|
13-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "bool" type and changed all ints that were used as booleans to bool.
--HG--
branch : HEAD |
dfc99c18e4ab76a8fbfd18da91e474146da5ab16 |
|
07-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
fix
--HG--
branch : HEAD |
0d0451206a91e9f96e522075dce28a89adc2325d |
|
07-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Beginnings of fallbacking to in-memory indexes when write fails with "out of
disk space" error.
--HG--
branch : HEAD |
0e17a51126ed6f376f9207217797103b610ff8eb |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Minor cleanups
--HG--
branch : HEAD |
a10f2e84184b91c584671cbbdcfb9330a5b48a9e |
|
06-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Added "(see lock_method setting in config file)" for flock() not supported
error too.
--HG--
branch : HEAD |
fb2f6103e2081a317838d692a0139acbacbaefd3 |
|
02-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
And fix to mmap_disable=yes optimization.
--HG--
branch : HEAD |
41bb0aa8e357876bc9a1916a37c9e3e78e5f8185 |
|
02-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Don't rewrite index file every time with mmap_disable=yes.
--HG--
branch : HEAD |
59fdd6f58b18cfbad531727c1d6f118c1ba2284f |
|
03-Oct-2005 |
Timo Sirainen <tss@iki.fi> |
Default lock_method to flock instead of fcntl. This is at least useful for
not allowing Dovecot's indexes to be used accidentally with wrong settings
in NFS mounted partitions.
--HG--
branch : HEAD |
b6d9a9c3e5710c59a85bd74d115ef75bae5b25b7 |
|
30-Sep-2005 |
Timo Sirainen <tss@iki.fi> |
Don't leak alarm() with in-memory indexes
--HG--
branch : HEAD |
861329ae9b639868471c645846c61aa4225db8b7 |
|
27-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
More error message fixing
--HG--
branch : HEAD |
325d4ad220bd13f6d176391d962a0e33c856a7f6 |
|
27-Aug-2005 |
Timo Sirainen <tss@iki.fi> |
Removed fcntl() text from some locking error messages, because if
lock_method=flock, it was done using flock().. Also did several s/it's/its/
in comments and one error message.
--HG--
branch : HEAD |
4b231ca0bbe3b536acbd350101e183441ce0247a |
|
29-Mar-2005 |
Timo Sirainen <tss@iki.fi> |
In-memory indexes work again. Just pass dir as NULL to mail_index_alloc().
--HG--
branch : HEAD |
2af769daebd83719ac696a440e06f6020471cec0 |
|
05-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
lock_method=dotlock doesn't crash anymore while trying to modify cache file.
We didn't previously deal with any fatal errors that fcntl/flock locking
could have given but assumed that the locking succeeded.
--HG--
branch : HEAD |
d30da25fb6be1f1c667d93767c9194000194b618 |
|
05-Dec-2004 |
Timo Sirainen <tss@iki.fi> |
Renamed mail_index_refresh() to mail_index_reopen_if_needed(). Added public
mail_index_refresh() which makes sure index is fully refreshed at the time.
Added mbox code to call it after mbox is locked to avoid using old mbox offsets.
--HG--
branch : HEAD |
1b3bb8d39686ed24730cbc31cc9a33dc62c8c6c3 |
|
14-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Update view's header only after syncing the view. This and other changes fix
several view syncing problems and crashes.
--HG--
branch : HEAD |
dbf38fccf56bc4c3773546ecda0e1295d877db3f |
|
07-Nov-2004 |
Timo Sirainen <tss@iki.fi> |
Crashfix
--HG--
branch : HEAD |
5a4ab3d6e108a899c8b51bebd0094a37b738d5a1 |
|
17-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Removed mmap() memory area protections. They weren't always set correctly.
Also grsec crashed with them anyway.
--HG--
branch : HEAD |
47e2df7bdfe737359f43c7fde2cd13fae5ebc1d8 |
|
11-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
typofixes
--HG--
branch : HEAD |
a53cb86b4d733d9c48ee4d285bed477c80825804 |
|
10-Oct-2004 |
Timo Sirainen <tss@iki.fi> |
Replaced fcntl_locks_disable with lock_method, so it's now possible to use
flock() to lock indexes.
--HG--
branch : HEAD |
5a07b37a9df398b5189c14872a600384208ab74b |
|
05-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
Save extra record/header infos into index file permanently.
--HG--
branch : HEAD |
24885c34015498d91964cd95160bbd6ea4d11807 |
|
03-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
cleanup/new assert
--HG--
branch : HEAD |
879d3ab89c6ba80d932df49c9b4f26bf5f3a9f25 |
|
03-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
a few more asserts
--HG--
branch : HEAD |
cd49bb0a6e8f83d7bc5128adc655a3e08cf2dd42 |
|
03-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
lock mprotect fix
--HG--
branch : HEAD |
8fa227767b63cc6d6e411b6763f3100113b07f45 |
|
03-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
lock fix
--HG--
branch : HEAD |
6a35c17d28de5dd85c760c580e5aa5a4ba5c5429 |
|
03-Sep-2004 |
Timo Sirainen <tss@iki.fi> |
mprotect() wasn't always called when index was being locked, and caused
crashes.
--HG--
branch : HEAD |
01d82749c1d9e2b875ca234af5f1d460685ddcfc |
|
25-Aug-2004 |
Timo Sirainen <tss@iki.fi> |
We kept exclusive index lock too long which caused deadlocks.
--HG--
branch : HEAD |
c9f1a617593eb569fb02f45041bad3c13e534496 |
|
31-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
Fixed fd leaks
--HG--
branch : HEAD |
a2645bdd6547b87e2380f33ce78640118b9e9e68 |
|
08-Jul-2004 |
Timo Sirainen <tss@iki.fi> |
crashfix
--HG--
branch : HEAD |
7e94cf9d70ce9fdeccb7a85ff400b899e6386f36 |
|
24-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Record size is allowed to change between index files. This will allow adding
extensions dynamically for existing indexes.
--HG--
branch : HEAD |
0d5101a9e42a98724b4ca2860c16f1ada7dff17e |
|
20-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Exclusive index locking always used copy-locking without even trying
fcntl-locking.
--HG--
branch : HEAD |
024815ea2ffdda9ea79919f18e865663977f73ea |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Fixes for extra_records
--HG--
branch : HEAD |
8e7da21696c9f8a6d5e601243fb6172ec85d47b2 |
|
14-Jun-2004 |
Timo Sirainen <tss@iki.fi> |
Added support for per-index sized mail_index_record.
--HG--
branch : HEAD |
e4b09b008ab544eb8994beecbfffefa21d855e43 |
|
26-May-2004 |
Timo Sirainen <tss@iki.fi> |
mail_index_refresh() - allows forcing a refresh check
--HG--
branch : HEAD |
a67b680211e62ae8712df502b800fb0deabd80d9 |
|
25-May-2004 |
Timo Sirainen <tss@iki.fi> |
fcntl_locks_disable=yes fix
--HG--
branch : HEAD |
e06c0b65c16ccce69bbee009ead14d7d3d17a256 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
Index header changes now go through transaction log. Removed the kludgy
parameters for mail_index_sync_end(). Removed code duplication of syncing
index root mapping and view mapping. Some fixes to handling uidvalidity and
nextuid in syncing.
--HG--
branch : HEAD |
c2c7f9a96bf3529307d78ad5f92a50cba9febe69 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
fix for last change
--HG--
branch : HEAD |
d8521a231b063d62cc194b5ca40427225a069352 |
|
24-May-2004 |
Timo Sirainen <tss@iki.fi> |
when index's header size grows, fix it first time we get exclusive lock
--HG--
branch : HEAD |
ec1e30ecc38f0deddaf655413cf02d5972ddbc70 |
|
16-May-2004 |
Timo Sirainen <tss@iki.fi> |
Locking fixes
--HG--
branch : HEAD |
215daa7d5bf9a849849586490fd6fdd28a724dd8 |
|
03-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes for fcntl_locks_disable = yes
--HG--
branch : HEAD |
5ec0ca7ff13595daf0d096c17100afb352e6294a |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
missing index file fixes
--HG--
branch : HEAD |
93b29720c5141f787bd1861796867e4595c9d084 |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
handle losing index file
--HG--
branch : HEAD |
0add8c99ca65e56dbf613595fc37c41aafff3f7f |
|
01-May-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
b2105c78f0fd58281317e6d777ded860f33153a3 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
fixes
--HG--
branch : HEAD |
d1727ed9c2ed8c520afa35cf0302fd94f7dfd723 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
some more locking fixes
--HG--
branch : HEAD |
fddec1bf093b45eaedcece13c649b811208e0547 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes, sync fix
--HG--
branch : HEAD |
5c1a8aee989af87bddefd71e2aa83aa2bd695155 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Locking changes. bugfixes.
--HG--
branch : HEAD |
6a07b4f51394c9b130d7c54d6cd1ec05d5a5a4c0 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
whops, was unfinished
--HG--
branch : HEAD |
18398a5d21c88cbb34c601c6b6c1f9dea502e1ca |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Added fcntl_lock_disable setting to allow indexes to work with NFS. Some
other locking fixes.
--HG--
branch : HEAD |
c1d45cada20777e1973579d40d0ebe43f89bb053 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
locking fixes, mmap_disable=yes fixes
--HG--
branch : HEAD |
31ddc75584c5cde53d2e78a737587f2e7fdcb0d2 |
|
28-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
Forced locking to be right with mprotect()ing index file. Support for
disabling mmap for indexes, and disabling just mmap+write().
--HG--
branch : HEAD |
0cb2e8eb55e70f8ebe1e8349bdf49e4cbe5d8834 |
|
27-Apr-2004 |
Timo Sirainen <tss@iki.fi> |
importing new index code. mbox still broken.
--HG--
branch : HEAD |