Date: Sun, 6 Jun 2010 20:32:25 +0300 From: Ilya Putsikau <iputsikau@gmail.com> To: soc-status@freebsd.org Subject: [fsnotify] report #2 Message-ID: <AANLkTinz_19we515Vpevgoq6jjdXbe6gW4PqLOKKLF9c@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
This week I've implemented read, poll and ioctl device driver calls. Watches can be added and remove by ioctl call. Support for gathering and distribution events is also almost complete. Currently the biggest problem is how to find fsnotify node for vnode if vnode is not yet known to fsnotify. I've started with adding second hash table to lookup nodes by full path. By this approach appeared to be wrong, because it's not safe to lock or unlock vnodes inside vop_*_post calls, which is necessary for vn_fullpath.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinz_19we515Vpevgoq6jjdXbe6gW4PqLOKKLF9c>