aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/radix-tree/multiorder.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-07-26 14:45:00 +0000
committerJens Axboe <[email protected]>2023-07-27 13:17:36 +0000
commit53e7d08f6d6e214c40db1f51291bb2975c789dc2 (patch)
treeead2b833e38d4b73585a5b3f134dce556bb22374 /tools/testing/radix-tree/multiorder.c
parentblock: Fix a source code comment in include/uapi/linux/blkzoned.h (diff)
downloadkernel-53e7d08f6d6e214c40db1f51291bb2975c789dc2.tar.gz
kernel-53e7d08f6d6e214c40db1f51291bb2975c789dc2.zip
ublk: fail to start device if queue setup is interrupted
In ublk_ctrl_start_dev(), if wait_for_completion_interruptible() is interrupted by signal, queues aren't setup successfully yet, so we have to fail UBLK_CMD_START_DEV, otherwise kernel oops can be triggered. Reported by German when working on qemu-storage-deamon which requires single thread ublk daemon. Fixes: 71f28f3136af ("ublk_drv: add io_uring based userspace block driver") Reported-by: German Maglione <[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/radix-tree/multiorder.c')
0 files changed, 0 insertions, 0 deletions