Kqueue write event position?
ivoras at fer.hr
Thu Nov 23 09:19:45 UTC 2006
Vlad Galu wrote:
> It seems to me you would have to propagate that info along the
> VOP_WRITE_POST->VFS_KNOTE_LOCKED->VN_KNOTE->knote() chain. Since
> knote() is generic and is used for all types of notifications, you can
> probably roll down your own replacement and call it from VN_KNOTE. Of
> course, there probably is a better way :)
Before I get any further with this, can anyone predict what would be the
impact of monitoring a large number of files (50,000 or more) with
kqueue? For kqueue to work, each file would have to be opened (and take
up one file descriptor).
More information about the freebsd-hackers