Re: Kqueue write event position?
- From: Ivan Voras <ivoras@xxxxxx>
- Date: Thu, 23 Nov 2006 10:19:29 +0100
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).
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Kqueue write event position?
- From: Vlad Galu
- Re: Kqueue write event position?
- References:
- Kqueue write event position?
- From: Ivan Voras
- Re: Kqueue write event position?
- From: Vlad Galu
- Kqueue write event position?
- Prev by Date: Re: Is there any way to avoid copy between the kernel and userland
- Next by Date: Re: Kqueue write event position?
- Previous by thread: Re: Kqueue write event position?
- Next by thread: Re: Kqueue write event position?
- Index(es):
Relevant Pages
- Re: kqueue and libev
... Solaris /dev/poll support which I've elided. ... Does kqueue work with
USB for example? ... The typical symptoms are either delayed notificatrions, no notifications
at ... The fact that it works fine on everything I threw at it on netbsd is ...
(freebsd-hackers) - Re: kqueue and libev
... Solaris /dev/poll support which I've ... Does kqueue work with USB for
example? ... The typical symptoms are either delayed notificatrions, no notifications at
... The fact that it works fine on everything I threw at it on netbsd is ... (freebsd-hackers) - Re: devd limitations / automounting removable storage
... >> modules can register to receive notifications when events came in.
... > Please use kqueue. ... (freebsd-arch)