Roy Marples
2006-Jun-15 16:52 UTC
[Dovecot] [PATCH] Better detection for ioloop and notify
Hi List! Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue and dnotify actually work. It also attempts to select the best one for you if none specified. This supercedes my previous patch in the re beta9 thread. Hopefully get this in Gentoo's beta9 ebuild soon. Thanks -- Roy Marples <uberlord@gentoo.org> Gentoo/Linux Developer (baselayout, networking) -------------- next part -------------- A non-text attachment was scrubbed... Name: configure-notify.patch Type: text/x-diff Size: 5147 bytes Desc: not available Url : http://dovecot.org/pipermail/dovecot/attachments/20060615/bdab2466/configure-notify.bin
Timo Sirainen
2006-Jun-16 14:05 UTC
[Dovecot] [PATCH] Better detection for ioloop and notify
On Thu, 2006-06-15 at 14:52 +0100, Roy Marples wrote:> Hi List! > > Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue > and dnotify actually work. It also attempts to select the best one for you if > none specified.Does the watch adding to /tmp work also when it's tmpfs (or were there other possibilities also)? I just feel a bit worried that after having those try_compiles changed to try_runs they might not work right because they're tried to run in wrong filesystem. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20060616/7009b711/attachment.pgp
Marcus Rueckert
2006-Jun-18 04:26 UTC
[Dovecot] [PATCH] Better detection for ioloop and notify
On 2006-06-15 14:52:01 +0100, Roy Marples wrote:> Attached is a patch to configure.in to test that epoll, poll, inotify, kqueue > and dnotify actually work. It also attempts to select the best one for you if > none specified. > > This supercedes my previous patch in the re beta9 thread. > > Hopefully get this in Gentoo's beta9 ebuild soon.the patch broke the fallback to dnotify. send a follow up patch to timo. should be in CVS soon hopefully. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org