Re: [PATCHSET] FUSE: extend FUSE to support more operations

From: Miklos Szeredi
Date: Thu Nov 13 2008 - 08:43:02 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/