Why not just link the outstanding poll requests into a list anchored
in 'fuse_file'? Easy to reuse, don't care about cancellation.
Lazy cancellation (no cancellation, esentially) sounds good. But that
works fine with the simplified protocol.
Think of it this way, this is what a poll event would look like with
your scheme:
1) -> POLL-notification
2) <- POLL-req
3) -> POLL-reply (revents)
Notice, how 1) and 2) don't carry _any_ information (the notification
can be spurious, the events in the POLL request is just repeated from
the original request). All the info is in 3), so I really don't see
any reason why the above would be better than just omitting the first
two steps.
Miklos
--