We currently only really support sync poll, ie poll with 1 IO in flight. This prepares us for supporting async poll.
Hey Jens, So are we sure that this is fine to simply replace the poll functionality? you say that that we support poll with only 1 I/O inflight but is it entirely true? semantically speaking? The interface is selective polling, which means that the user can have more than a single I/O inflight but wants to poll for a specific one that it really cares about. Would this introduce a regression for users that rely on preadv2 to basically "complete *this* IO as fast as possible"? Note that I like the proposed direction, I'm merely questioning if it is OK to simply change how selective polling worked until today instead of introducing a separate blk_poll_all(q) (but with a better name) which would be wired up to aio polling and friends.