From: no-reply@sashiko.virtuozzo.com
To: Alexander Ivanov <alexander.ivanov@virtuozzo.com>,
andrey.zhadchenko@virtuozzo.com
Cc: devel@openvz.org
Subject: Re: [Devel] [PATCH hci-8.2 v4] drivers/vhost/blk: support VIRTIO_BLK_F_WRITE_ZEROES
Date: Wed, 18 Nov 2026 11:13:33 +0000 [thread overview]
Message-ID: <010701a1ee5cac7c-d5465fac-59c8-4ca0-8194-c33c2f15c1f2-000000@eu-central-1.amazonses.com> (raw)
In-Reply-To: <20261118110813.3333232-1-alexander.ivanov@virtuozzo.com>
> Handle VIRTIO_BLK_T_WRITE_ZEROES for parity with virtio-blk. The range
> is sent to the backend as a single REQ_OP_WRITE_ZEROES bio, with
> REQ_NOUNMAP unless the guest set the UNMAP flag.
>
> The VMM advertises the feature only for a backend with WRITE ZEROES
> support and sets max_write_zeroes_sectors from its limit, capped at
> 8388607 so that the range fits in one bio, and max_write_zeroes_seg
> to 1.
>
> The guest gets VIRTIO_BLK_S_UNSUPP when VIRTIO_BLK_F_WRITE_ZEROES was
> not negotiated, for a payload other than exactly one segment or an
> unknown flag. It gets VIRTIO_BLK_S_IOERR for a read-only backend, a
> backend without WRITE ZEROES and a range that is unaligned, beyond the
> capacity or above these limits.
>
> https://virtuozzo.atlassian.net/browse/VSTOR-141684
> Feature: vhost-blk: in-kernel accelerator for virtio-blk guests
> Signed-off-by: Alexander Ivanov <alexander.ivanov@virtuozzo.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.vzint.dev/#/patchset/20261118110813.3333232-1-alexander.ivanov@virtuozzo.com?part=1
_______________________________________________
Devel mailing list
Devel@openvz.org
https://lists.openvz.org/mailman/listinfo/devel
next prev parent reply other threads:[~2026-11-18 11:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-18 11:08 Alexander Ivanov
2026-11-18 11:13 ` no-reply [this message]
2026-11-18 11:45 ` Andrey Zhadchenko
2026-11-18 15:26 ` Konstantin Khorenko
2026-11-18 15:26 ` Konstantin Khorenko
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=010701a1ee5cac7c-d5465fac-59c8-4ca0-8194-c33c2f15c1f2-000000@eu-central-1.amazonses.com \
--to=no-reply@sashiko.virtuozzo.com \
--cc=alexander.ivanov@virtuozzo.com \
--cc=andrey.zhadchenko@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