From: Alberto M. <alb...@bs...> - 2010-03-05 11:15:03
|
Hello, I'm using FUSE to create a tracing filesystem that sits between the user and the original filesystems and logs information about every operation according to a provided filter. As such, it is a "pass through" filesystem that should "echo" anything that arrives to it to the underlying filesystem, just like fusexmp. Currently, I'm trying to implement a "pass through" fuse_poll() callback, and I've seen that fuse splits a standard poll() call into one fuse_poll() callback for each file being monitored, but the "requested events" aren't passed to this callback. Maybe the fuse_pollhandle structure passed to the callback is used for this? If it is so, where and when is this structure allocated? Also, what is the use of the fuse_notify_poll() function? I've been looking into the fsel and fselclient examples but I've found no clear answers to this by myself. Thanks for your time, Alberto Miranda -- Alberto Miranda Barcelona Supercomputing Center Centro Nacional de Supercomputación www : http://www.bsc.es/StorageSystems email : alberto.miranda(at)bsc.es phone : (+34) 93 405 42 81 |