[Devel] [PATCH hci-8.2 v4 0/4] drivers/vhost/blk: fix write zeroes errors, support VIRTIO_BLK_F_DISCARD

Konstantin Khorenko khorenko at virtuozzo.com
Mon Nov 30 18:24:32 MSK 2026


Applying as is.

On Wed, 25 Nov 2026 15:21:41 +0100, Alexander Ivanov wrote:
> v4:
> - patch 2: say a backend without WRITE ZEROES still gets
>   VIRTIO_BLK_S_IOERR and the VMM still has to cap
>   max_write_zeroes_sectors

All v3 items are done in the patches. Keeping the backend file in
3/4 instead of bio->bi_bdev, as I suggested, is right: md raid0
remaps the bio itself to a member disk, so bi_bdev at completion is
not the device the limit has to be read from.

Thanks.

-- 
Konstantin Khorenko,
Virtuozzo Linux Kernel Team



More information about the Devel mailing list