Created attachment 12138 [details]
source3 source patch
According to Youzhong Yang, the inotify support is good enough that samba is happy with it.
Attached here is a different set of patches that only include sys/filio.h if HAVE_SYS_FILIO_H is defined.
The checks are also update to check and set HAVE_SYS_FILIO_H when running on illumos.
Created attachment 12139 [details]
source3 build patch
Created attachment 12140 [details]
source4 source patch
Created attachment 12141 [details]
source4 build patch