在 2021/10/9 下午8:51, Pavel Begunkov 写道:
On 10/8/21 13:36, Hao Xu wrote:
this is a new feature for pollable requests, see detail in commit
message.
It really sounds we should do it as a part of IOSQE_ASYNC, so
what are the cons and compromises?
I wrote the pros and cons here:
https://github.com/axboe/liburing/issues/426#issuecomment-939221300
Hao Xu (2):
io_uring: add IOSQE_ASYNC_HYBRID flag for pollable requests
btw, it doesn't make sense to split it into two patches
Hmm, I thought we should make adding a new flag as a separate patch.
Could you give me more hints about the considerration here?
io_uring: implementation of IOSQE_ASYNC_HYBRID logic
fs/io_uring.c | 48 +++++++++++++++++++++++++++++++----
include/uapi/linux/io_uring.h | 4 ++-
2 files changed, 46 insertions(+), 6 deletions(-)