[Devel] [PATCH hci-8.2 v3 0/4] drivers/vhost/blk: fix write zeroes errors, support VIRTIO_BLK_F_DISCARD
Alexander Ivanov
alexander.ivanov at virtuozzo.com
Wed Nov 25 17:07:20 MSK 2026
On 11/25/26 13:32, Konstantin Khorenko wrote:
> I won't apply this version, please send v4 with the changes below.
>
> 1. 2/4: say that the check of a zero limit goes too, and keep the cap
> advice the same as in 4/4.
> 2. 3/4: find the backend bdev only for a failed bio.
> 3. 4/4: one form of the op test for both types, as asked for v1.
> 4. 4/4: vhost_blk_parse_segment() gets the backend once; do not look
> up f in it and bdev from f in both callers.
> 5. 4/4: the split, not the hint, is why the backend limit is not
> checked; a drive whose discards are to be ignored must not get the
> feature; the 8388607 cap rounded down to the logical block size.
Fixed.
More information about the Devel
mailing list