Messages in this thread | | | Subject | Re: [PATCHSET] FUSE: extend FUSE to support more operations | From | Miklos Szeredi <> | Date | Thu, 13 Nov 2008 14:42:37 +0100 |
| |
On Thu, 13 Nov 2008, Tejun Heo wrote: > We don't need POLL_RELEASE
What happens on timeout? Do we just let userspace continue polling the file descriptor, and then ignore the notification?
> but we still need POLL-reply (to request) to > send revents. We can put that into notification too. Hmmm... Yeah, > that could be simpler for FUSE servers. I'll venture that way.
Then in fact the notification could just become the reply:
<- POLL-request (sent with request_send_nowait()) ... -> POLL-reply (calls req->end())
So there won't even be a need to implement notification (we'll need that for other things in the future) simplifying things even further. Even if we want to cancel the request because of a timeout, that could be done with the existing INTERRUPT request.
Miklos
| |