Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 10:19:29 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Kqueue write event position?
Message-ID:  <ek3p31$i69$1@sea.gmane.org>
In-Reply-To: <ad79ad6b0611221309q85e37e5p224ba93d0b9c9b5@mail.gmail.com>
References:  <ek2ca4$sft$1@sea.gmane.org> <ad79ad6b0611221309q85e37e5p224ba93d0b9c9b5@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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).




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ek3p31$i69$1>