Re: [PATCH] ublk: allow non-blocking ctrl cmds in IO_URING_F_NONBLOCK issue

From: Jens Axboe
Date: Tue Dec 09 2025 - 12:21:50 EST



On Mon, 01 Dec 2025 14:41:44 -0700, Caleb Sander Mateos wrote:
> Handling most of the ublksrv_ctrl_cmd opcodes require locking a mutex,
> so ublk_ctrl_uring_cmd() bails out with EAGAIN when called with the
> IO_URING_F_NONBLOCK issue flag. However, several opcodes can be handled
> without blocking:
> - UBLK_CMD_GET_QUEUE_AFFINITY
> - UBLK_CMD_GET_DEV_INFO
> - UBLK_CMD_GET_DEV_INFO2
> - UBLK_U_CMD_GET_FEATURES
>
> [...]

Applied, thanks!

[1/1] ublk: allow non-blocking ctrl cmds in IO_URING_F_NONBLOCK issue
commit: 87213b0d847cd300285b5545598e0548baeb5208

Best regards,
--
Jens Axboe