All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Matt Wang <wwentao@vmware.com>, Vishal Bhakta <vbhakta@vmware.com>
Cc: "Martin K . Petersen" <martin.petersen@oracle.com>,
	Pv-drivers <Pv-drivers@vmware.com>,
	linux-scsi@vger.kernel.org, Elaine Zhao <yzhao@vmware.com>
Subject: Re: [PATCH] Set correct transferred data length for PVSCSI
Date: Sat, 22 May 2021 00:40:37 -0400	[thread overview]
Message-ID: <162165838887.5676.7922034053838420979.b4-ty@oracle.com> (raw)
In-Reply-To: <03C41093-B62E-43A2-913E-CFC92F1C70C3@vmware.com>

On Wed, 19 May 2021 09:49:32 +0000, Matt Wang wrote:

> Some commands like INQUIRY VPD pages may return bytes less than
> commands data buffer. To avoid conducting useless information, set right
> residual count to make upper layer aware of this.
> 
> Before (INQUIRY PAGE 0xB0 with 128B buffer):
> sg_raw -r 128 /dev/sda 12 01 B0 00 80 00
> SCSI Status: Good
> 
> [...]

Applied to 5.13/scsi-fixes, thanks!

[1/1] Set correct transferred data length for PVSCSI
      https://git.kernel.org/mkp/scsi/c/e662502b3a78

-- 
Martin K. Petersen	Oracle Linux Engineering

      reply	other threads:[~2021-05-22  4:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-19  9:49 [PATCH] Set correct transferred data length for PVSCSI Matt Wang
2021-05-22  4:40 ` Martin K. Petersen [this message]

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=162165838887.5676.7922034053838420979.b4-ty@oracle.com \
    --to=martin.petersen@oracle.com \
    --cc=Pv-drivers@vmware.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=vbhakta@vmware.com \
    --cc=wwentao@vmware.com \
    --cc=yzhao@vmware.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.