[Devel] [PATCH hci-8.1 v3 9/9] drivers/vhost/blk: fix a hang on release after the vhost worker is killed
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Nov 17 14:25:00 MSK 2026
I won't apply this version, please send v4 with the changes below.
On Tue, 17 Nov 2026 11:43:29 +0100, Alexander Ivanov wrote:
> When the owner is killed, vhost_worker_killed() detaches the worker
> from the vqs. A bio completing after that fails to queue the
> completion work, so its request stays on llhead and is never removed
> from req_inflight. vhost_blk_flush() on release then waits forever
> and the process is stuck in D state. Any kill of a VM with I/O in
> flight can hit this.
Item 1 of the cover letter reply: drop this patch.
Why: "drivers/vhost/blk: fix a flush hang on requests completed after
worker kill" from your write zeroes series fixes this hang already, I
am applying that series first, and this patch does not apply on top of
it.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
More information about the Devel
mailing list