[Devel] [PATCH hci-8.2 v3 3/4] drivers/vhost/blk: hold requests failed with ENOSPC

Konstantin Khorenko khorenko at virtuozzo.com
Tue Dec 1 12:19:07 MSK 2026


Items 1 and 2 of the cover letter reply.

On Tue, 1 Dec 2026 09:50:19 +0100, Alexander Ivanov wrote:
> backend does not wait for it. Until then its head stays taken, so a

"Until then" has nothing to refer to; "while the backend is set".

> + * once the backend is unset, and is emptied by VHOST_RESET_OWNER and by a
> + * successful VHOST_BLK_SET_BACKEND with fd >= 0. A failing one may empty it
> + * too.

A failing one may also leave requests in it: the vqs set up before
the failure are live and hold requests on the new list. Say that QEMU
reads the list again after a failing SET_BACKEND.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list