From: Bart Van Assche <bvanassche@acm.org>
To: Petr Vaganov <p.vaganov@ideco.ru>,
stable@vger.kernel.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Jens Axboe <axboe@kernel.dk>, Tejun Heo <htejun@gmail.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
lvc-project@linuxtesting.org
Subject: Re: [PATCH v5] scsi: fill in DMA padding bytes in scsi_alloc_sgtables
Date: Fri, 7 Aug 2026 08:34:09 -0700 [thread overview]
Message-ID: <cf1f02ad-3706-4e90-9f17-94a873be0bef@acm.org> (raw)
In-Reply-To: <20260628185229.37957-1-p.vaganov@ideco.ru>
On 6/28/26 11:52 AM, Petr Vaganov wrote:
> Extend last_sg->length by pad_len first, then use sg_zero_buffer() to
> zero those pad_len bytes. sg_zero_buffer() uses sg_miter internally,
> which correctly handles sg entries spanning multiple pages and padding
> that crosses a page boundary.
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
prev parent reply other threads:[~2026-08-07 15:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-28 18:52 Petr Vaganov
2026-07-22 18:27 ` Bart Van Assche
2026-08-07 10:43 ` Petr Vaganov
2026-08-07 15:34 ` Bart Van Assche [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=cf1f02ad-3706-4e90-9f17-94a873be0bef@acm.org \
--to=bvanassche@acm.org \
--cc=James.Bottomley@HansenPartnership.com \
--cc=axboe@kernel.dk \
--cc=gregkh@linuxfoundation.org \
--cc=htejun@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=lvc-project@linuxtesting.org \
--cc=martin.petersen@oracle.com \
--cc=p.vaganov@ideco.ru \
--cc=stable@vger.kernel.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
all inboxes | Powered by JetHome®