• Tejun Heo's avatar
    fuse: implement unsolicited notification · 8599396b
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarMiklos Szeredi <mszeredi@suse.cz>
    8599396b
dev.c 26.7 KB