summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2026-10-11 01:35:53 -0500
committerJens Axboe <axboe@kernel.dk>2026-10-15 18:25:35 -0600
commit9703575564aa7c74d6746e4ed2d3f8a99af7590c (patch)
tree1db9af6f942e46f8a874f21f8cedc02b29038275 /rust/kernel/alloc/kvec/errors.rs
parentcdf6e5de86a91da6e4d621260bc70e99e2f3a25e (diff)
selftests: ublk: stop a batch thread when PREP_IO_CMDS fails
Since STOP_DEV turns the server away until it closes /dev/ublkcN, UBLK_U_IO_PREP_IO_CMDS can complete with UBLK_IO_RES_ABORT when it races STOP_DEV. kublk asserts that PREP succeeds, so the daemon aborts before it reports to `kublk add`, which then waits for the start event forever. Stop the thread like a failed FETCH_IO_CMDS does. The daemon's START_DEV then fails, and `kublk add` gets the error. Reported-by: Josef Bacik <josef@toxicpanda.com> Closes: https://lore.kernel.org/linux-block/63d8149c093169706e7478e779116b61.josef@toxicpanda.com/ Signed-off-by: Ming Lei <tom.leiming@gmail.com> Link: https://patch.msgid.link/20261011063555.1142277-11-tom.leiming@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions