1ef9fe877817de76eb38883ccf3833fae60e6865 |
|
05-Oct-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: stop including fd-set-nonblock.h & fd-close-on-exec.h directly |
5f1d689131a75c39f064cbd4202373e7edf78f18 |
|
19-Sep-2017 |
Josef 'Jeff' Sipek <jeff.sipek@dovecot.fi> |
global: start relying on io_remove{,_closed}(NULL) being a no-op
Cleanup performed with the following semantic patch:
@@
expression E;
@@
- if (E != NULL) {
- io_remove(&E);
- }
+ io_remove(&E);
@@
expression E;
@@
- if (E != NULL) {
- io_remove_closed(&E);
- }
+ io_remove_closed(&E); |
a6280be05b9c90579bb59ff57a3035661706c3d3 |
|
19-Jul-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: io_loop_extract_notify_fd() - Don't crash if no notifys have been added |
5535f5fb5feef602cc21678aa2db11a2809e8f76 |
|
02-Nov-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
lib: ioloop-notify-kqueue wasn't storing source filename. |
dfa23b2ddc43f323112225facf7cd7191e62e02c |
|
03-Oct-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
io: Add source filename
This will make debugging alot easier
when you can see what the filename is as well. |
a350c75b6e22e6e8f246964924d9a4715d16af08 |
|
25-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Fixed io_loop_extract_notify_fd() to compile with kqueue. |
dad206f8341603837b7de4309a7c195da26cf9aa |
|
24-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Added io_loop_extract_notify_fd() |
fefe9afdb0fb4cfc70afe3006ec88ba09ab3762d |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: Log notify IO leaks when ioloop is destroyed. |
f6845101f2d6b8068e352a0b5a0d4bb04e20ad74 |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: io_add_notify() wasn't setting struct io.source_linenum |
f3739947c8a5f8584fe630ec138058c5bd53184f |
|
19-Aug-2015 |
Timo Sirainen <tss@iki.fi> |
lib: kqueue notification should trigger also on file renames.
For example if dovecot.index.log is renamed to dovecot.index.log.2, we
should notice that since there's now a new dovecot.index.log containing new
changes. |
4307c886579381dbb1897ea1388ae6978c96f560 |
|
27-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Changed i_close_fd() API to set the fd to -1 after closing. |
cb78bd2ad54e402c1f53930b41e2295683bda90b |
|
25-Jun-2012 |
Timo Sirainen <tss@iki.fi> |
Replaced (void)close(fd) and close_keep_errno() with i_close_fd().
i_close_fd() preserves the errno and logs an error if the close() fails. |
0536ccb51d41e3078c3a9fa33e509fb4b2420f95 |
|
21-Sep-2011 |
Timo Sirainen <tss@iki.fi> |
Renamed lib/*-internal.h files to lib/*-private.h for consistency. |
1388b590dbd85245b591346f860bc1319953318a |
|
16-Aug-2011 |
Timo Sirainen <tss@iki.fi> |
Replaced "ioloop log" with a more generic "ioloop context".
The context can call multiple callbacks that can do anything they want,
including setting the log prefix. |
306f6bb8791755257c0db900f17659402c660057 |
|
27-May-2009 |
Timo Sirainen <tss@iki.fi> |
Removed ioloop_timezone. It's not working nowadays.
--HG--
branch : HEAD |
6a7bc57cdd2aaa7778478bf76c20c61640c725e6 |
|
16-Dec-2008 |
Timo Sirainen <tss@iki.fi> |
kqueue notify: Don't assert-cras if kevent() returns multiple events for the same io.
--HG--
branch : HEAD |
193f5296d2a6b847970c222d8a261b89aae46331 |
|
01-Nov-2008 |
Timo Sirainen <tss@iki.fi> |
Don't break if io_remove() or timeout_remove() are called for non-active ioloops.
--HG--
branch : HEAD |
5c6410e8882d021ad9cff91d87b3ce68e309bd44 |
|
17-May-2008 |
Timo Sirainen <tss@iki.fi> |
kqueue: If opening a file fails with ESTALE, don't log an error. It probably
just means the file was deleted by another NFS client.
--HG--
branch : HEAD |
0a3d3ca7db7cbdc947ccabe740c40561b3f5c066 |
|
24-Apr-2008 |
Timo Sirainen <tss@iki.fi> |
Renamed IO_NOTIFY_DISABLED to IO_NOTIFY_NOSUPPORT. IO_NOTIFY_NOSUPPORT is
now also given by dnotify when trying to listen for files. Fixes busy
looping with dnotify when waiting for dotlock to get deleted.
--HG--
branch : HEAD |
ec096c8a0f52a4bb5d12aa9afe1a576368aa8094 |
|
21-Oct-2007 |
Timo Sirainen <tss@iki.fi> |
Don't crash when removing kqueue notify.
--HG--
branch : HEAD |
fd1f0e9ef52b3e157cfd1a01c464c2ac7458ab17 |
|
24-Sep-2007 |
Timo Sirainen <tss@iki.fi> |
Use N_ELEMENTS() macro instead of doing sizeof()/sizeof([0]) ourself.
--HG--
branch : HEAD |
1964dbea138cb4a213b1bce1eeee68992b18829a |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Changed io_add_notify() API so that it can return "file doesn't exist"
error.
--HG--
branch : HEAD |
e2aeb8f352ef49c34bac8f758de8c63d51d0e065 |
|
09-Jul-2007 |
Timo Sirainen <tss@iki.fi> |
Don't prevent io_add_notify() from listening for files, since kqueue
supports it.
--HG--
branch : HEAD |
62b1acbf187f5d611c82be168d716fa2db1f6edd |
|
11-Jun-2007 |
Timo Sirainen <tss@iki.fi> |
These files are MIT licensed nowadays.
--HG--
branch : HEAD |
dcc76bb1e1bb287e3e71e6a39a7ca207fab0eaa8 |
|
08-Mar-2007 |
Timo Sirainen <tss@iki.fi> |
Various cleanups to ioloop code.
--HG--
branch : HEAD |
2cfe9983ce7a6280636ee12beccc2e865111967b |
|
15-Dec-2006 |
Timo Sirainen <tss@iki.fi> |
Replaced void *context from a lot of callbacks with the actual context
type. Also added/fixed some context type checks.
--HG--
branch : HEAD |
f6c0407545ee77d4647c8cd912e3156b0a48e2f1 |
|
03-Nov-2006 |
Timo Sirainen <tss@iki.fi> |
Removed compiler warnings with NetBSD.
--HG--
branch : HEAD |
4dc5662260a63669054cd0dc1bac2ccab3fa2ae7 |
|
26-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Fix 100% CPU usage looping when a vnode change event came but it was never
untriggered. Patch by Rui Lopes (rgl ruilopes com)
--HG--
branch : HEAD |
1aaa503bb6e3c5d0a3d17e00c8ef9ecece4d867d |
|
16-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Compiling fixes
--HG--
branch : HEAD |
35565557e05721a761132cec2ba1d93acacb6c14 |
|
16-Aug-2006 |
Timo Sirainen <tss@iki.fi> |
Rewrote much of the kqueue code. It didn't work correctly if there were both
input and output I/O handlers added for the same file descriptor. The code
works now very much like epoll code. Did also several cleanups.
--HG--
branch : HEAD |
283ccfe110ed62e48f36e0d84e47da8cae5106be |
|
28-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
Cleanups: Make io_remove() do the linked list updating also for notify
handlers. Removed notify_context from struct io, and moved it to a new
struct inotify_io.
--HG--
branch : HEAD |
a40f21e8239a87a8fab2648955b0f568908ca8b5 |
|
28-Jan-2006 |
Timo Sirainen <tss@iki.fi> |
kqueue updates. Patch by Vaclav Haisman
--HG--
branch : HEAD |
6a029ebed745994ce2e5f64182d8b5c8f10d53d6 |
|
30-Dec-2005 |
Timo Sirainen <tss@iki.fi> |
Added kqueue notification support. Patch by Vaclav Haisman
--HG--
branch : HEAD |