Mon, 09 Jul 2007 07:01:08 +0300 |
Timo Sirainen |
If use_io_notify dotlock setting is enabled, use I/O notify loop for waiting
HEAD
|
Fri, 25 May 2007 18:17:54 +0300 |
Timo Sirainen |
Continuing the previous time difference commit..
HEAD
|
Fri, 25 May 2007 18:16:27 +0300 |
Timo Sirainen |
Log a warning if filesystem's clock is +-30 different from the system clock
HEAD
|
Fri, 25 May 2007 18:10:47 +0300 |
Timo Sirainen |
If created dotlock file's ctime is smaller than the current time (NFS
HEAD
|
Fri, 11 May 2007 17:07:04 +0300 |
Timo Sirainen |
Give a better error message if dotlock is deleted immediately under us (or
HEAD
|
Wed, 11 Apr 2007 14:24:49 +0300 |
Timo Sirainen |
Use safe_mkstemp() instead of doing it ourself.
HEAD
|
Wed, 11 Apr 2007 14:19:25 +0300 |
Timo Sirainen |
Use lstat() instead of stat() to check if temporary file already exists.
HEAD
|
Sat, 17 Mar 2007 17:29:26 +0200 |
Timo Sirainen |
If dotlock is newer than 2 seconds, don't bother reading PID from it and
HEAD
|
Sat, 17 Mar 2007 17:28:10 +0200 |
Timo Sirainen |
Log "kept it for n seconds", not -n seconds.
HEAD
|
Thu, 08 Jun 2006 19:42:40 +0300 |
Timo Sirainen |
If dotlock creation timeouts, unlink() the temp file we used
HEAD
|
Thu, 08 Jun 2006 19:41:30 +0300 |
Timo Sirainen |
When checking if we want to override dotlocks, don't use the
HEAD
|
Thu, 08 Jun 2006 19:39:28 +0300 |
Timo Sirainen |
Using file_dotlock_touch() caused Dovecot to think the dotlock had been
HEAD
|
Thu, 20 Apr 2006 22:50:45 +0300 |
Timo Sirainen |
Fixed last change: added missing '/' back
HEAD
|
Thu, 20 Apr 2006 19:04:04 +0300 |
Timo Sirainen |
file_dotlock_get_lock_path() doesn't return the path from data stack
HEAD
|
Sat, 01 Apr 2006 00:19:20 +0300 |
Timo Sirainen |
Added some t_push/t_pop calls
HEAD
|
Sun, 05 Feb 2006 14:58:05 +0200 |
Timo Sirainen |
Added file_dotlock_touch() for updating lock file's timestamp.
HEAD
|
Sun, 05 Feb 2006 14:46:07 +0200 |
Timo Sirainen |
Removed immediate_stale_timeout and changed the stale_timeout behavior to
HEAD
|
Fri, 13 Jan 2006 22:25:57 +0200 |
Timo Sirainen |
Added "bool" type and changed all ints that were used as booleans to bool.
HEAD
|
Fri, 25 Nov 2005 17:15:11 +0200 |
Timo Sirainen |
Added file_dotlock_get_lock_path()
HEAD
|
Sun, 18 Sep 2005 20:31:41 +0300 |
Timo Sirainen |
compiler warning fix
HEAD
|
Fri, 16 Sep 2005 15:30:08 +0300 |
Timo Sirainen |
If dotlock is overwritten/deleted, say in the error message how long we kept
HEAD
|
Sun, 28 Aug 2005 22:28:55 +0300 |
Timo Sirainen |
Support creating locks with O_EXCL.
HEAD
|
Sat, 05 Mar 2005 21:03:03 +0200 |
Timo Sirainen |
If we failed to lock the dotlock, don't try to close the file twice.
HEAD
|
Mon, 31 Jan 2005 20:52:23 +0200 |
Timo Sirainen |
Inode info wasn't saved when using file_dotlock_open() so
HEAD
|
Sun, 16 Jan 2005 21:18:23 +0200 |
Timo Sirainen |
Changed dotlocking API.
HEAD
|
Thu, 06 Jan 2005 21:08:49 +0200 |
Timo Sirainen |
Use random_fill_weak() when creating dotlock file names.
HEAD
|
Tue, 07 Dec 2004 02:41:38 +0200 |
Timo Sirainen |
If pid in dotlock file is same as ours, assume a stale lock file.
HEAD
|
Mon, 11 Oct 2004 16:05:24 +0300 |
Timo Sirainen |
Check that dotlock PID exists even if we don't do stale lock timeouting.
HEAD
|
Sun, 10 Oct 2004 17:39:05 +0300 |
Timo Sirainen |
Write host:pid into lock file *before* link()ing it into real lock file.
HEAD
|
Wed, 22 Sep 2004 21:57:40 +0300 |
Timo Sirainen |
Re-read the PID from lock file every time before checking if it exists,
HEAD
|
Wed, 15 Sep 2004 16:23:22 +0300 |
Timo Sirainen |
compiler warning fixes
HEAD
|
Mon, 28 Jun 2004 19:44:38 +0300 |
Timo Sirainen |
don't close dotlock fd if it's given as -1
HEAD
|
Sun, 20 Jun 2004 14:46:10 +0300 |
Timo Sirainen |
Never overflow secs_left for stale timeout callback
HEAD
|
Sun, 30 May 2004 00:40:30 +0300 |
Timo Sirainen |
Removed hardcoded mechanism lists. It's now possible to add them
HEAD
|
Mon, 17 May 2004 02:16:23 +0300 |
Timo Sirainen |
file_dotlock_delete(): don't complain about mtime changes in lock file, as
HEAD
|
Tue, 04 May 2004 01:08:26 +0300 |
Timo Sirainen |
file_dotlock_open/delete/replace now has lock_suffix parameter. NULL
HEAD
|
Tue, 27 Apr 2004 23:25:52 +0300 |
Timo Sirainen |
importing new index code. mbox still broken.
HEAD
|
Mon, 20 Oct 2003 09:18:58 +0300 |
Timo Sirainen |
fixed dovecot-uidlist permissions for shared mailboxes
HEAD
|
Mon, 20 Oct 2003 08:01:57 +0300 |
Timo Sirainen |
Added dotlock parameter to specify how old lock file has to be to be
HEAD
|
Mon, 20 Oct 2003 04:50:18 +0300 |
Timo Sirainen |
save errno in failures
HEAD
|
Tue, 15 Jul 2003 21:41:01 +0300 |
Timo Sirainen |
Minor speedup
HEAD
|
Sat, 05 Jul 2003 23:33:18 +0300 |
Timo Sirainen |
Moved all dotlocking code to lib/. Also we now use temp file + link() rather
HEAD
|
Thu, 17 Apr 2003 17:20:47 +0300 |
Timo Sirainen |
We got dotlock's mtime before modifying it, which caused problems sometimes.
HEAD
|
Tue, 15 Apr 2003 22:00:14 +0300 |
Timo Sirainen |
Use different warning message for dotlock mtime change.
HEAD
|
Fri, 21 Mar 2003 08:47:05 +0200 |
Timo Sirainen |
Call the hostpid_init() always at startup. Easier than doing it all around.
HEAD
|
Fri, 14 Feb 2003 14:56:32 +0200 |
Timo Sirainen |
Don't even try to override mbox dotlock if we can't get fcntl/flock.
HEAD
|
Wed, 12 Feb 2003 14:07:51 +0200 |
Timo Sirainen |
Locking code cleanups and small fixes
HEAD
|