linux_old1/fs/fuse
Tejun Heo 95668a69a4 fuse: implement poll support
Implement poll support.  Polled files are indexed using kh in a RB
tree rooted at fuse_conn->polled_files.

Client should send FUSE_NOTIFY_POLL notification once after processing
FUSE_POLL which has FUSE_POLL_SCHEDULE_NOTIFY set.  Sending
notification unconditionally after the latest poll or everytime file
content might have changed is inefficient but won't cause malfunction.

fuse_file_poll() can sleep and requires patches from the following
thread which allows f_op->poll() to sleep.

  http://thread.gmane.org/gmane.linux.kernel/726176

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
2008-11-26 12:03:55 +01:00
..
Makefile [PATCH] fuse: add control filesystem 2006-06-25 10:01:19 -07:00
control.c fuse: style fixes 2008-11-26 12:03:54 +01:00
dev.c fuse: implement poll support 2008-11-26 12:03:55 +01:00
dir.c fuse: add file kernel handle 2008-11-26 12:03:55 +01:00
file.c fuse: implement poll support 2008-11-26 12:03:55 +01:00
fuse_i.h fuse: implement poll support 2008-11-26 12:03:55 +01:00
inode.c fuse: implement poll support 2008-11-26 12:03:55 +01:00