Ming Lei fa8e442e83 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 <axboe@kernel.dk>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20230104133235.836536-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-01-04 13:24:53 -07:00
..
2022-12-13 19:29:45 -08:00
2022-12-13 15:22:14 -08:00
2022-12-13 10:54:19 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 15:47:48 -08:00
2022-12-12 16:39:38 -08:00
2022-12-08 13:03:47 -08:00
2022-12-13 11:59:58 -08:00
2022-12-13 15:22:14 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 13:32:56 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 13:09:38 -08:00
2022-12-13 11:27:26 -08:00
2022-12-13 13:20:36 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 13:20:36 -08:00
2022-12-13 09:05:19 -08:00
2022-12-07 17:50:44 +01:00
2022-10-09 14:05:15 -07:00
2022-12-12 13:38:17 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 15:22:14 -08:00
2022-12-13 19:29:45 -08:00
2022-12-13 13:41:26 -08:00
2022-12-13 12:32:07 -08:00
2022-12-13 15:47:48 -08:00
2022-12-12 10:17:08 -08:00
2022-12-13 13:13:55 -08:00
2022-12-13 10:43:59 -08:00
2022-12-12 15:19:38 -08:00
2022-12-13 11:36:58 -08:00
2022-12-13 15:47:48 -08:00
2022-12-13 12:49:59 -08:00
2022-12-13 10:54:19 -08:00
2022-12-13 15:22:14 -08:00
2022-12-13 12:54:31 -08:00
2022-12-13 15:47:48 -08:00
2022-12-12 10:17:08 -08:00
2022-12-12 09:01:36 -08:00
2022-12-13 10:43:59 -08:00
2022-12-13 15:47:48 -08:00
2022-10-10 14:02:53 -07:00
2022-12-13 11:59:58 -08:00
2022-12-13 11:59:58 -08:00