From: Konstantin Khorenko <khorenko@virtuozzo.com>
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v3 0/4] drivers/vhost/blk: fix write zeroes errors, support VIRTIO_BLK_F_DISCARD
Date: Wed, 25 Nov 2026 13:32:09 +0100 [thread overview]
Message-ID: <179560992942.33784.2711973325875161456.b4-review@b4> (raw)
In-Reply-To: <20261125115703.741517-1-alexander.ivanov@virtuozzo.com>
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.
The code of all four patches is right, and the v1 asks of both series
are done apart from items 3 and 5.
On Wed, 25 Nov 2026 12:56:59 +0100, Alexander Ivanov wrote:
> Patch 1 drops the ring features that are already part of VHOST_FEATURES.
> Patch 2 stops checking WRITE ZEROES ranges against the backend limit.
Item 1: say here too that patch 2 drops the zero-limit check, which 3/4
then relies on.
--
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-25 12:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 11:56 Alexander Ivanov
2026-11-25 11:57 ` [Devel] [PATCH hci-8.2 v3 1/4] drivers/vhost/blk: drop ring features already in VHOST_FEATURES Alexander Ivanov
2026-11-25 11:57 ` [Devel] [PATCH hci-8.2 v3 2/4] drivers/vhost/blk: stop failing write zeroes above the backend limit Alexander Ivanov
2026-11-25 12:32 ` Konstantin Khorenko
2026-11-25 11:57 ` [Devel] [PATCH hci-8.2 v3 3/4] drivers/vhost/blk: return UNSUPP for write zeroes on a backend without it Alexander Ivanov
2026-11-25 12:32 ` Konstantin Khorenko
2026-11-25 11:57 ` [Devel] [PATCH hci-8.2 v3 4/4] drivers/vhost/blk: support VIRTIO_BLK_F_DISCARD Alexander Ivanov
2026-11-25 12:32 ` Konstantin Khorenko
2026-11-25 12:32 ` Konstantin Khorenko [this message]
2026-11-25 14:07 ` [Devel] [PATCH hci-8.2 v3 0/4] drivers/vhost/blk: fix write zeroes errors, " Alexander Ivanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179560992942.33784.2711973325875161456.b4-review@b4 \
--to=khorenko@virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=devel@openvz.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox