diff options
author | Ming Lei <[email protected]> | 2023-01-04 21:32:35 +0800 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-01-04 13:24:53 -0700 |
commit | fa8e442e832a3647cdd90f3e606c473a51bc1b26 (patch) | |
tree | e1e4d1fb772779774238d8936f6ffb61b704af8c /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 9cea62b2cbabff8ed46f2df17778b624ad9dd25a (diff) |
ublk: honor IO_URING_F_NONBLOCK for handling control command
Most of control command handlers may sleep, so return -EAGAIN in case
of IO_URING_F_NONBLOCK to defer the handling into io wq context.
Fixes: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver")
Reported-by: Jens Axboe <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions