diff options
author | Dylan Yudaken <[email protected]> | 2023-01-27 05:52:25 -0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-01-29 15:18:26 -0700 |
commit | aebb224fd4fc7352cd839ad90414c548387142fd (patch) | |
tree | 8f209de8d9e8eec51774f27764dd5229d0a2d463 /scripts/gdb/linux/modules.py | |
parent | 6bb30855560e6343e7b88595d7c3159d0f848a04 (diff) |
io_uring: for requests that require async, force it
Some requests require being run async as they do not support
non-blocking. Instead of trying to issue these requests, getting -EAGAIN
and then queueing them for async issue, rather just force async upfront.
Add WARN_ON_ONCE to make sure surprising code paths do not come up,
however in those cases the bug would end up being a blocking
io_uring_enter(2) which should not be critical.
Signed-off-by: Dylan Yudaken <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions