Podcast summary

Poudriere Performance Secrets: FreeBSD inotify & OpenSMTPD

BSD Now episode artwork

BSD Now

Podcast • 06/25/26 • 37 mins

Listen to the full episode

Native iNotify fixes FreeBSD close-notify races

FreeBSD’s earlier user-space iNotify emulation inherited EVFILT_VNODE’s race: directory watching can miss SCP-created file close events. Clara landed native, Linux-source-compatible iNotify, improving correctness and resource overhead.

EVFILT_VNODE’s design invites timing gaps

EVFILT_VNODE requires opening and registering each file, so a close can occur before registration. That creates a real “missed event” window even when the watch directory is correct and the notifier is functioning.

Matching Linux iNotify semantics is subtle

Even with source compatibility, FreeBSD and Linux differ on hardlink access: Linux won’t report opens via an un-watched name, while FreeBSD can. Kernel interface gaps won’t just affect performance; they affect event meaning.