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
..
2008-10-22 18:48:45 -05:00
2008-10-27 08:40:17 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-11-13 13:22:34 -06:00
2008-11-06 15:41:22 -08:00
2008-11-26 12:03:55 +01:00
2008-10-23 05:12:58 -04:00
2008-10-17 02:38:36 +11:00
2008-11-18 15:08:56 +01:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:57:05 +02:00
2008-10-20 08:52:32 -07:00
2008-10-23 05:12:59 -04:00
2008-10-30 11:38:45 -07:00
2008-11-19 18:49:59 -08:00
2008-11-12 17:17:17 -08:00
2008-11-01 09:49:46 -07:00
2008-10-30 11:38:45 -07:00