inode modification notification in kernel

John Baldwin jhb at freebsd.org
Wed Apr 16 14:01:42 UTC 2014


On Friday, April 11, 2014 6:07:48 pm Shawn Webb wrote:
> Hey All,
> 
> I'm a newb at the kernel API. What's the best way to receive
> notification of a deletion event of a given inode in the kernel? In
> userland, I'd use kqueue/kevent. Is that same API available in the
> kernel? Or is there something different?

There really isn't an in-kernel API for that.  However, you might be
able to do something in your filesystem's VOP_RECLAIM (depends on what
you are trying to use this for)

-- 
John Baldwin


More information about the freebsd-hackers mailing list