On Wed, Mar 24, 2021 at 07:17:02PM +0100, Christoph Hellwig wrote:
On Wed, Mar 24, 2021 at 08:19:17PM +0800, Ming Lei wrote:
quoted
Add one helper for creating io context and prepare for supporting
efficient bio based io poll.
Looking at what gets added later here I do not think this helper is
a good idea. Having a separate one for creating any needed poll-only
context is a lot more clear.
The poll context actually depends on io_context, that is why I put them
all into one single helper.
thanks,
Ming