Kqueue write event position?

Ivan Voras ivoras at fer.hr
Thu Nov 23 10:44:32 UTC 2006


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.



More information about the freebsd-hackers mailing list