From: Bobby Eshleman <bobbyeshleman@gmail.com>
To: Weimin Xiong <xiongwm2026@163.com>
Cc: virtualization@lists.linux.dev
Subject: Re: [PATCH 01/12] vhost-scsi: improve BIDI operation comments
Date: Wed, 15 Jul 2026 02:24:53 -0700 [thread overview]
Message-ID: <aldR5cNr3SlVoBX/@devvm29614.prn0.facebook.com> (raw)
In-Reply-To: <20260715080906.21689-1-xiongwm2026@163.com>
On Wed, Jul 15, 2026 at 04:09:06PM +0800, Weimin Xiong wrote:
> From: xiongweimin <xiongwm2026@163.com>
>
> Replace FIXME comments with clearer Note comments documenting
> that BIDI (bidirectional) operations are not yet supported.
>
> Signed-off-by: Weimin Xiong <xiongwm2026@163.com>
> Co-authored-by: Cursor <cursoragent@cursor.com>
> ---
> drivers/vhost/scsi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/vhost/scsi.c b/drivers/vhost/scsi.c
> index 9a1253b9d..81e905c4c 100644
> --- a/drivers/vhost/scsi.c
> +++ b/drivers/vhost/scsi.c
> @@ -1047,7 +1047,7 @@ static void vhost_scsi_target_queue_cmd(struct vhost_scsi_nexus *nexus,
> struct se_cmd *se_cmd = &cmd->tvc_se_cmd;
> struct scatterlist *sg_ptr, *sg_prot_ptr = NULL;
>
> - /* FIXME: BIDI operation */
> + /* Note: BIDI (bidirectional) operations are not yet supported */
> if (cmd->tvc_sgl_count) {
> sg_ptr = cmd->table.sgl;
>
> @@ -1168,7 +1168,7 @@ vhost_scsi_get_desc(struct vhost_scsi *vs, struct vhost_virtqueue *vq,
>
> /*
> * Get the size of request and response buffers.
> - * FIXME: Not correct for BIDI operation
> + * Note: Size calculation is not correct for BIDI operations.
> */
> vc->out_size = iov_length(vq->iov, vc->out);
> vc->in_size = iov_length(&vq->iov[vc->out], vc->in);
> --
> 2.43.0
>
Hey Weimin,
This series is probably going to be ignored. Comment-only changes are
almost never merged, and the code changes here don't look like genuine
bugs.
In the case that there are some real bugs, I'd recommend to setup a
system and trigger a bug, and provide a reproducer.
Best,
Bobby
next prev parent reply other threads:[~2026-07-15 9:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 8:09 [PATCH 01/12] vhost-scsi: improve BIDI operation comments Weimin Xiong
2026-07-15 9:24 ` Bobby Eshleman [this message]
2026-07-15 9:36 ` xiongwm2026
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=aldR5cNr3SlVoBX/@devvm29614.prn0.facebook.com \
--to=bobbyeshleman@gmail.com \
--cc=virtualization@lists.linux.dev \
--cc=xiongwm2026@163.com \
/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