All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Martin K. Petersen" <mkp@kernel.org>
To: Tim Douglas <me@timdoug.com>
Cc: mkp@kernel.org,  James.Bottomley@HansenPartnership.com,
	linux-scsi@vger.kernel.org,  linux-kernel@vger.kernel.org
Subject: Re: [PATCH] scsi: esp_scsi: report the residual byte count
Date: Thu, 19 Nov 2026 21:40:30 -0500	[thread overview]
Message-ID: <yq18q2oql81.fsf@mail.kernel.org> (raw)
In-Reply-To: <20261118003746.61659-1-me@timdoug.com>


Tim,

> The ESP core tracks the number of bytes left to transfer in tot_residue
> but does not report that count to the SCSI midlayer. As a result, SG_IO
> returns a residual of zero even when a target transfers fewer bytes than
> requested, as can happen with INQUIRY and MODE SENSE.

Applied to 7.5/scsi-staging, thanks!

-- 
Martin K. Petersen

      parent reply	other threads:[~2026-11-20  2:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-18  0:37 [PATCH] scsi: esp_scsi: report the residual byte count Tim Douglas
2026-11-18  4:11 ` Finn Thain
2026-11-18  5:13   ` Tim Douglas
2026-11-20  2: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=yq18q2oql81.fsf@mail.kernel.org \
    --to=mkp@kernel.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=me@timdoug.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.