Kqueue write event position?

Vlad Galu dudu at dudu.ro
Thu Nov 23 10:54:26 UTC 2006


On 11/23/06, Ivan Voras <ivoras at fer.hr> wrote:
> Vlad Galu wrote:
>
> >   My guess is that it won't be remarcably high. However, you can
> > create those files, add them to your notification list and randomly
> > write bytes to them, to see how your system performs. One more
> > suggestion, I think it would be better if, in case you extend the
> > vnode API, you only send the size of the write in the data field of
> > the kevent structure and you store the offset in your program and
> > adding the size to it everytime an event occurs.
>
> The writes will not be sequential so I need both offset and length.
>

   Eh I guess you can use udata for one of them, then.
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


-- 
If it's there, and you can see it, it's real.
If it's not there, and you can see it, it's virtual.
If it's there, and you can't see it, it's transparent.
If it's not there, and you can't see it, you erased it.


More information about the freebsd-hackers mailing list