[Dovecot] [PATCH] [RFC] epoll based ioloop handler

Timo Sirainen tss at iki.fi
Mon Sep 6 14:08:26 EEST 2004


On 6.9.2004, at 14:00, Miquel van Smoorenburg wrote:

>> Hmm. epoll requires that everything is read from the fd or it doesn't 
>> send another notification. I'm not sure if everything in Dovecot 
>> works this way. All the I/O handlers should be checked and fixed..
>
> The mailinglist archive doesn't seem to have archived the
> patch, so I can't check, but what you write above is only
> true when using EPOLLET (edge triggered). When using epoll
> as a drop-in replacement for poll() or select() you probably
> simply shouldn't use EPOLLET.

Ok, I should have read epoll man pages too. I just happened to read 
"the c10k problem" web page where it said epoll being only 
edge-triggered.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040906/8268d56b/attachment-0001.bin>


More information about the dovecot mailing list