]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - fs/fuse/dev.c
fuse: implement unsolicited notification
authorTejun Heo <tj@kernel.org>
Wed, 26 Nov 2008 11:03:55 +0000 (12:03 +0100)
committerMiklos Szeredi <miklos@szeredi.hu>
Wed, 26 Nov 2008 11:03:55 +0000 (12:03 +0100)
commit8599396b5062bf6bd2a0b433503849e2322df1c2
tree8ce5f253eaf5fe28324c497db780d824ea60bb5c
parentacf99433d98c2570a619d8fb8b51abce4e532059
fuse: implement unsolicited notification

Clients always used to write only in response to read requests.  To
implement poll efficiently, clients should be able to issue
unsolicited notifications.  This patch implements basic notification
support.

Zero fuse_out_header.unique is now accepted and considered unsolicited
notification and the error field contains notification code.  This
patch doesn't implement any actual notification.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
fs/fuse/dev.c
include/linux/fuse.h